Description Usage Arguments See Also Examples
View source: R/msigDB_helper.R
getMsigdbGenesets
1 | getMsigdbGenesets(msigCollection, species)
|
msigCollection |
data.frema with columns gs_cat, gs_subcat |
species |
e.g. "Homo sapiens" |
Other fgsea:
fgsea_leading_edge_too_char()
,
fgsea_msigdb_collections()
,
fgsea_msigdb()
,
fgsea_rank_contrasts()
,
fgsea_rank()
,
run_fgsea_for_allContrasts()
,
run_fgsea_for_allGeneSets()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | library(tidyverse)
library(msigdbr)
msigdbr::msigdbr_species()
species <- "Homo sapiens"
species <- "Mus musculus"
hallmark <- msigdbr_collections() %>% filter(.data$gs_cat == "H")
#hallmark$gs_subcat <- "HALLMARK"
C5 <- bind_rows( {msigdbr_collections() %>%
filter(.data$gs_cat == "C5") %>%
filter(grepl("^GO:", .data$gs_subcat))},
hallmark,
{msigdbr_collections() %>% filter(.data$gs_subcat == "CP:KEGG")} )
C5
fgseaGSlist <- prora::getMsigdbGenesets(C5, species)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.