msigdbr: MSigDB Gene Sets for Multiple Organisms in a Tidy Data Format

CRAN R build status codecov


The msigdbr R package provides Molecular Signatures Database (MSigDB) gene sets typically used with the Gene Set Enrichment Analysis (GSEA) software:


The package can be installed from CRAN.



The package data can be accessed using the msigdbr() function, which returns a data frame of gene sets and their member genes. For example, you can retrieve mouse genes from the C2 (curated) CGP (chemical and genetic perturbations) gene sets.

genesets = msigdbr(species = "Mus musculus", category = "C2", subcategory = "CGP")

Check the documentation website for more information.

Try the msigdbr package in your browser

Any scripts or data that you put into this service are public.

msigdbr documentation built on May 5, 2021, 5:08 p.m.