View source: R/bb_extract_msig.R
bb_extract_msig | R Documentation |
Use this to extract gene sets from the MSIGDB. Most gene sets are known by "STANDARD_NAME". You can filter the gene set list by supplying a named filter list to the bb_extract_msig function. The name of each list element should be one of the metadata column names and the list element contents should be the values to filter for. Filtering works in an additive way, meaning if you supply a filter list with two elements it will extract gene sets passing filters 1 AND 2.
bb_extract_msig(
filter_list = NULL,
return_form = c("id_list", "name_list", "tibble")
)
filter_list |
A named list to filter the MSIGDB by. Defaults to NULL which will return the whole MSIGDB |
return_form |
Select from a list of gene ids or a list of gene names by gene set. This is a useful format for the fgsea package. Alternatively "tibble" can be select and all filtered gene sets will be bound into a long-form (tidy) tibble. |
Gene set as a list or tibble.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.