{% set version = "2.16.0" %}
{% set name = "edge" %}
{% set bioc = "3.9" %}

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 }}/bioconductor-{{ name }}_{{ version }}_src_all.tar.gz'
  md5: 48cb021c6bd3677e96f44d419ef4382f
build:
  number: 1
  rpaths:
    - lib/R/lib/
    - lib/
# Suggests: testthat, knitr, ggplot2, reshape2
requirements:
  host:
    - 'bioconductor-biobase >=2.44.0,<2.45.0'
    - 'bioconductor-qvalue >=2.16.0,<2.17.0'
    - 'bioconductor-snm >=1.32.0,<1.33.0'
    - 'bioconductor-sva >=3.32.0,<3.33.0'
    - r-base
    - r-jackstraw
    - r-mass
  run:
    - 'bioconductor-biobase >=2.44.0,<2.45.0'
    - 'bioconductor-qvalue >=2.16.0,<2.17.0'
    - 'bioconductor-snm >=1.32.0,<1.33.0'
    - 'bioconductor-sva >=3.32.0,<3.33.0'
    - r-base
    - r-jackstraw
    - r-mass
  build:
    - {{ compiler('c') }}
    - make
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: 'MIT + file LICENSE'
  summary: 'The edge package implements methods for carrying out differential expression analyses of genome-wide gene expression studies. Significance testing using the optimal discovery procedure and generalized likelihood ratio tests (equivalent to F-tests and t-tests) are implemented for general study designs. Special functions are available to facilitate the analysis of common study designs, including time course experiments. Other packages such as snm, sva, and qvalue are integrated in edge to provide a wide range of tools for gene expression analysis.'

