{% set version = "2.12.0" %}
{% set name = "DaMiRseq" %}
{% set bioc = "3.17" %}

package:
  name: 'bioconductor-{{ name|lower }}'
  version: '{{ version }}'
source:
  url:
    - 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/{{ name }}_{{ version }}.tar.gz'
    - 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/Archive/{{ name }}/{{ 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: 40d2de748f89528f9be59dff14696cdb
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
  noarch: generic
# Suggests: BiocStyle, knitr, testthat
requirements:
  host:
    - 'bioconductor-deseq2 >=1.40.0,<1.41.0'
    - 'bioconductor-edaseq >=2.34.0,<2.35.0'
    - 'bioconductor-edger >=3.42.0,<3.43.0'
    - 'bioconductor-limma >=3.56.0,<3.57.0'
    - 'bioconductor-summarizedexperiment >=1.30.0,<1.31.0'
    - 'bioconductor-sva >=3.48.0,<3.49.0'
    - r-arm
    - r-base
    - r-caret
    - r-corrplot
    - r-e1071
    - r-factominer
    - r-fselector
    - r-ggplot2
    - r-hmisc
    - r-ineq
    - r-kknn
    - r-lubridate
    - r-mass
    - r-pheatmap
    - r-pls
    - r-plsvarsel
    - r-plyr
    - r-randomforest
    - r-rcolorbrewer
    - r-reshape2
    - r-rsnns
  run:
    - 'bioconductor-deseq2 >=1.40.0,<1.41.0'
    - 'bioconductor-edaseq >=2.34.0,<2.35.0'
    - 'bioconductor-edger >=3.42.0,<3.43.0'
    - 'bioconductor-limma >=3.56.0,<3.57.0'
    - 'bioconductor-summarizedexperiment >=1.30.0,<1.31.0'
    - 'bioconductor-sva >=3.48.0,<3.49.0'
    - r-arm
    - r-base
    - r-caret
    - r-corrplot
    - r-e1071
    - r-factominer
    - r-fselector
    - r-ggplot2
    - r-hmisc
    - r-ineq
    - r-kknn
    - r-lubridate
    - r-mass
    - r-pheatmap
    - r-pls
    - r-plsvarsel
    - r-plyr
    - r-randomforest
    - r-rcolorbrewer
    - r-reshape2
    - r-rsnns
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: 'GPL (>= 2)'
  summary: 'Data Mining for RNA-seq data: normalization, feature selection and classification'
  description: 'The DaMiRseq package offers a tidy pipeline of data mining procedures to identify transcriptional biomarkers and exploit them for both binary and multi-class classification purposes. The package accepts any kind of data presented as a table of raw counts and allows including both continous and factorial variables that occur with the experimental setting. A series of functions enable the user to clean up the data by filtering genomic features and samples, to adjust data by identifying and removing the unwanted source of variation (i.e. batches and confounding factors) and to select the best predictors for modeling. Finally, a "stacking" ensemble learning technique is applied to build a robust classification model. Every step includes a checkpoint that the user may exploit to assess the effects of data management by looking at diagnostic plots, such as clustering and heatmaps, RLE boxplots, MDS or correlation plot.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

extra:
  container:
    extended-base: True

