read_msigdt: Read msigdb datatable

View source: R/11_enrichment.R

read_msigdtR Documentation

Read msigdb datatable

Description

Read msigdb datatable

Usage

read_msigdt(
  file = list_files(MSIGDIR, full.names = TRUE)[1],
  collections = if (is.null(file)) NULL else switch(basename(file) %>% substr(nchar(.)
    - 4, nchar(.) - 3), Hs = c("C2:CP:REACTOME", "C5:GO:BP", "C5:GO:MF", "C5:GO:CC"), Mm
    = c("M2:CP:REACTOME", "M5:GO:BP", "M5:GO:MF", "M5:GO:CC"))
)

Arguments

file

msigdb file: one of the files in dir(MSIGDB).

collections

subset of names(MSIGCOLLECTIONS)

Examples

read_msigdt()

bhagwataditya/autonomics documentation built on Nov. 1, 2024, 5:47 a.m.