View source: R/filter_genesets.R
filter_genesets | R Documentation |
filter a geneset table; intersect with an array of genes-of-interest then apply cutoffs on min/max genes per geneset
filter_genesets(
genesets,
genelist,
min_overlap = 10L,
max_overlap = 1500L,
max_overlap_fraction = 0.5,
min_signif = NA,
max_size = NA,
dedupe = FALSE
)
genesets |
tibble with genesets, must contain columns 'id', 'genes' and 'ngenes' |
genelist |
tibble with genes, must contain column 'gene' and 'signif'. gene = character column, which are matched against list column 'genes' in genesets tibble. signif = boolean column (you can set all to FALSE if not performing Fisher-exact or hypergeometric test downstream) |
min_overlap |
integer, minimum number of genes in the |
max_overlap |
integer, maximum number of genes in the |
max_overlap_fraction |
analogous to |
min_signif |
expert setting for debugging and algorithm evaluation/benchmarking, NOT for regular geneset analyses. integer, minimum number of genes in the |
max_size |
integer, maximum number of genes in the geneset (i.e. prior to intersect with user's gene list provided as |
dedupe |
boolean, remove duplicate genesets (as determined after intersection with |
the input genesets
filtered for the subset of rows that match user's filter parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.