{% set version = "1.2.0" %}
{% set name = "dce" %}
{% 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 }}/bioconductor-{{ name }}_{{ version }}_src_all.tar.gz'
  md5: c72b92163ee0cef50d78d0a60092d4e0
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
  noarch: generic
# Suggests: knitr, rmarkdown, testthat (>= 2.1.0), BiocStyle, formatR, cowplot, dagitty, lmtest, sandwich, devtools, curatedTCGAData, TCGAutils, SummarizedExperiment
requirements:
  host:
    - 'bioconductor-edger >=3.36.0,<3.37.0'
    - 'bioconductor-epinem >=1.18.0,<1.19.0'
    - 'bioconductor-graph >=1.72.0,<1.73.0'
    - 'bioconductor-graphite >=1.40.0,<1.41.0'
    - 'bioconductor-mnem >=1.10.0,<1.11.0'
    - 'bioconductor-org.hs.eg.db >=3.14.0,<3.15.0'
    - 'bioconductor-rgraphviz >=2.38.0,<2.39.0'
    - r-assertthat
    - r-base
    - r-combinepvalue
    - r-dplyr
    - r-expm
    - r-ggplot2
    - r-ggraph
    - r-glm2
    - r-glue
    - r-harmonicmeanp
    - r-igraph
    - r-logger
    - r-mass
    - r-matrix
    - r-metap
    - r-naturalsort
    - r-pcalg
    - r-ppcor
    - r-purrr
    - r-reshape2
    - r-rlang
    - r-tidygraph
    - r-tidyverse
  run:
    - 'bioconductor-edger >=3.36.0,<3.37.0'
    - 'bioconductor-epinem >=1.18.0,<1.19.0'
    - 'bioconductor-graph >=1.72.0,<1.73.0'
    - 'bioconductor-graphite >=1.40.0,<1.41.0'
    - 'bioconductor-mnem >=1.10.0,<1.11.0'
    - 'bioconductor-org.hs.eg.db >=3.14.0,<3.15.0'
    - 'bioconductor-rgraphviz >=2.38.0,<2.39.0'
    - r-assertthat
    - r-base
    - r-combinepvalue
    - r-dplyr
    - r-expm
    - r-ggplot2
    - r-ggraph
    - r-glm2
    - r-glue
    - r-harmonicmeanp
    - r-igraph
    - r-logger
    - r-mass
    - r-matrix
    - r-metap
    - r-naturalsort
    - r-pcalg
    - r-ppcor
    - r-purrr
    - r-reshape2
    - r-rlang
    - r-tidygraph
    - r-tidyverse
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: GPL-3
  summary: 'Pathway Enrichment Based on Differential Causal Effects'
  description: 'Compute differential causal effects (dce) on (biological) networks. Given observational samples from a control experiment and non-control (e.g., cancer) for two genes A and B, we can compute differential causal effects with a (generalized) linear regression. If the causal effect of gene A on gene B in the control samples is different from the causal effect in the non-control samples the dce will differ from zero. We regularize the dce computation by the inclusion of prior network information from pathway databases such as KEGG.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

