{% set version = "1.4.1" %}
{% set name = "BayesSpace" %}
{% set bioc = "3.14" %}

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: f608fbb4a3c2b8d70d028fdd0a719422
build:
  number: 1
  rpaths:
    - lib/R/lib/
    - lib/
# Suggests: testthat, knitr, rmarkdown, igraph, spatialLIBD, dplyr, viridis, patchwork, RColorBrewer, Seurat
# SystemRequirements: C++11
requirements:
  host:
    - 'bioconductor-biocfilecache >=2.2.0,<2.3.0'
    - 'bioconductor-biocsingular >=1.10.0,<1.11.0'
    - 'bioconductor-rhdf5 >=2.38.0,<2.39.0'
    - 'bioconductor-s4vectors >=0.32.0,<0.33.0'
    - 'bioconductor-scater >=1.22.0,<1.23.0'
    - 'bioconductor-scran >=1.22.0,<1.23.0'
    - 'bioconductor-singlecellexperiment >=1.16.0,<1.17.0'
    - 'bioconductor-summarizedexperiment >=1.24.0,<1.25.0'
    - r-assertthat
    - r-base
    - r-coda
    - r-dirichletreg
    - r-ggplot2
    - r-matrix
    - r-mclust
    - r-purrr
    - 'r-rcpp >=1.0.4.6'
    - r-rcpparmadillo
    - r-rcppdist
    - r-rcppprogress
    - r-rcurl
    - r-scales
    - r-xgboost
    - libblas
    - liblapack
  run:
    - 'bioconductor-biocfilecache >=2.2.0,<2.3.0'
    - 'bioconductor-biocsingular >=1.10.0,<1.11.0'
    - 'bioconductor-rhdf5 >=2.38.0,<2.39.0'
    - 'bioconductor-s4vectors >=0.32.0,<0.33.0'
    - 'bioconductor-scater >=1.22.0,<1.23.0'
    - 'bioconductor-scran >=1.22.0,<1.23.0'
    - 'bioconductor-singlecellexperiment >=1.16.0,<1.17.0'
    - 'bioconductor-summarizedexperiment >=1.24.0,<1.25.0'
    - r-assertthat
    - r-base
    - r-coda
    - r-dirichletreg
    - r-ggplot2
    - r-matrix
    - r-mclust
    - r-purrr
    - 'r-rcpp >=1.0.4.6'
    - r-rcpparmadillo
    - r-rcppdist
    - r-rcppprogress
    - r-rcurl
    - r-scales
    - r-xgboost
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - make
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: 'MIT + file LICENSE'
  summary: 'Clustering and Resolution Enhancement of Spatial Transcriptomes'
  description: 'Tools for clustering and enhancing the resolution of spatial gene expression experiments. BayesSpace clusters a low-dimensional representation of the gene expression matrix, incorporating a spatial prior to encourage neighboring spots to cluster together. The method can enhance the resolution of the low-dimensional representation into "sub-spots", for which features such as gene expression or cell type composition can be imputed.'
  license_file: LICENSE

