get_geneset_overlay: get geneset as overlay

View source: R/get_geneset_overlay.R

get_geneset_overlayR Documentation

get geneset as overlay

Description

generates a list of data.frames that can be inputted to plot_overlay()

Usage

get_geneset_overlay(data, database, k = 100, only.significant = T)

Arguments

data

pulldown data

database

What database should be used for the search? For available pathways, see ?get_pathways.

k

integer or NULL. Up to how many of the most recurrent gene sets should be displayed at once? NULL will indicate that no gene sets should be subsetted at all.

only.significant

boolean. If true, only column with significant=TRUE will be considered.

Examples

## Not run: 
data("example_data")
df = example_data %>% 
   calc_mod_ttest() %>% 
   id_significant_proteins()
   
plot_volcano_basic(df) %>% 
   plot_overlay(get_geneset_overlay(df, 'hgnc', k = 25)) %>% 
   make_interactive()

## End(Not run)

lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.