{% set version = "1.10.0" %}
{% set name = "PanomiR" %}
{% set bioc = "3.20" %}

about:
  description: PanomiR is a package to detect miRNAs that target groups of pathways from gene expression data. This package provides functionality for generating pathway activity profiles, determining differentially activated pathways between user-specified conditions, determining clusters of pathways via the PCxN package, and generating miRNAs targeting clusters of pathways. These function can be used separately or sequentially to analyze RNA-Seq data.
  home: https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html
  license: MIT + file LICENSE
  license_file: LICENSE
  summary: Detection of miRNAs that regulate interacting groups of pathways

build:
  noarch: generic
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
  run_exports: '{{ pin_subpackage("bioconductor-panomir", max_pin="x.x") }}'

package:
  name: bioconductor-{{ name|lower }}
  version: '{{ version }}'

# Suggests: testthat (>= 3.0.0), BiocStyle, knitr, rmarkdown
requirements:
  host:
    - bioconductor-clusterprofiler >=4.14.0,<4.15.0
    - bioconductor-gseabase >=1.68.0,<1.69.0
    - bioconductor-limma >=3.62.0,<3.63.0
    - bioconductor-org.hs.eg.db >=3.20.0,<3.21.0
    - bioconductor-preprocesscore >=1.68.0,<1.69.0
    - r-base
    - r-dplyr
    - r-forcats
    - r-igraph
    - r-metap
    - r-rcolorbrewer
    - r-rlang
    - r-tibble
    - r-withr
  run:
    - bioconductor-clusterprofiler >=4.14.0,<4.15.0
    - bioconductor-gseabase >=1.68.0,<1.69.0
    - bioconductor-limma >=3.62.0,<3.63.0
    - bioconductor-org.hs.eg.db >=3.20.0,<3.21.0
    - bioconductor-preprocesscore >=1.68.0,<1.69.0
    - r-base
    - r-dplyr
    - r-forcats
    - r-igraph
    - r-metap
    - r-rcolorbrewer
    - r-rlang
    - r-tibble
    - r-withr

source:
  md5: 96e2c9bf2bd7d1d628a360579b66a77d
  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

test:
  commands:
    - $R -e "library('{{ name }}')"

