{% set version = "1.4.0" %}
{% set name = "CAMTHC" %}
{% set bioc = "3.10" %}

package:
  name: 'bioconductor-{{ name|lower }}'
  version: '{{ version }}'
source:
  url:
    - 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/{{ name }}_{{ version }}.tar.gz'
    - 'https://bioarchive.galaxyproject.org/{{ name }}_{{ version }}.tar.gz'
    - 'https://depot.galaxyproject.org/software/bioconductor-{{ name|lower }}/bioconductor-{{ name|lower }}_{{ version }}_src_all.tar.gz'
  md5: 2f44e0d65707afb6e7c218cf6f7be80c
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
  noarch: generic
# Suggests: knitr, rmarkdown, BiocStyle, testthat, GEOquery, rgl
# SystemRequirements: Java (>= 1.8)
requirements:
  host:
    - 'bioconductor-biobase >=2.46.0,<2.47.0'
    - 'bioconductor-biocparallel >=1.20.0,<1.21.0'
    - 'bioconductor-summarizedexperiment >=1.16.0,<1.17.0'
    - r-apcluster
    - r-base
    - r-corpcor
    - r-dmwr
    - r-geometry
    - r-nmf
    - r-nnls
    - r-pcapp
    - r-rjava
    - openjdk
  run:
    - 'bioconductor-biobase >=2.46.0,<2.47.0'
    - 'bioconductor-biocparallel >=1.20.0,<1.21.0'
    - 'bioconductor-summarizedexperiment >=1.16.0,<1.17.0'
    - r-apcluster
    - r-base
    - r-corpcor
    - r-dmwr
    - r-geometry
    - r-nmf
    - r-nnls
    - r-pcapp
    - r-rjava
    - openjdk
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: GPL-2
  summary: 'Convex Analysis of Mixtures for Tissue Heterogeneity Characterization'
  description: 'An R package for tissue heterogeneity characterization by convex analysis of mixtures (CAM). It provides basic functions to perform unsupervised deconvolution on mixture expression profiles by CAM and some auxiliary functions to help understand the subpopulation-specific results. It also implements functions to perform supervised deconvolution based on prior knowledge of molecular markers, S matrix or A matrix. Combining molecular markers from CAM and from prior knowledge can achieve semi-supervised deconvolution of mixtures.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2'

