{% set version = "1.6.0" %}
{% set name = "scBFA" %}
{% set bioc = "3.13" %}

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: e6033ef482f6bc377d88ea907a6a6dc3
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
  noarch: generic
# Suggests: knitr, rmarkdown, testthat, Rtsne
requirements:
  host:
    - 'bioconductor-deseq2 >=1.32.0,<1.33.0'
    - 'bioconductor-singlecellexperiment >=1.14.0,<1.15.0'
    - 'bioconductor-summarizedexperiment >=1.22.0,<1.23.0'
    - 'bioconductor-zinbwave >=1.14.0,<1.15.0'
    - r-base
    - r-copula
    - r-ggplot2
    - r-mass
    - r-matrix
    - r-seurat
  run:
    - 'bioconductor-deseq2 >=1.32.0,<1.33.0'
    - 'bioconductor-singlecellexperiment >=1.14.0,<1.15.0'
    - 'bioconductor-summarizedexperiment >=1.22.0,<1.23.0'
    - 'bioconductor-zinbwave >=1.14.0,<1.15.0'
    - r-base
    - r-copula
    - r-ggplot2
    - r-mass
    - r-matrix
    - r-seurat
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: 'GPL-3 + file LICENSE'
  summary: 'A dimensionality reduction tool using gene detection pattern to mitigate noisy expression profile of scRNA-seq'
  description: 'This package is designed to model gene detection pattern of scRNA-seq through a binary factor analysis model. This model allows user to pass into a cell level covariate matrix X and gene level covariate matrix Q to account for nuisance variance(e.g batch effect), and it will output a low dimensional embedding matrix for downstream analysis.'
  license_file: LICENSE

