sampleEnrichmentHeatmap | R Documentation |
Draw a heatmap of enriched genesets in all samples
sampleEnrichmentHeatmap( results_table, max_rows = 50, min_genes = 2, min_odds_ratio = 1.5, p_col = "p.val", adjust_pvalues = FALSE, padjust_method = "BH", pvalue_threshold = 0.1, maxl = 45, show_common = TRUE, sample_id_col = "cluster", sample_ids = NULL, title = "Enriched gene sets" )
results_table |
A gofisher multi-sample results table. |
max_rows |
Maximum number of rows to show in the heatmap. |
min_genes |
Minimum number of genes to filter gene sets. |
min_odds_ratio |
Only genesets with odds ratios equal to or greater will be considered. |
adjust_pvalues |
Logical value indicating whether to adjust p-values across all sample. |
padjust_method |
Correction method. Can be abbreviated
(see |
pvalue_threshold |
P-value threshold. |
maxl |
Maximum length for gene set names (trimmed otherwise). |
show_common |
Logical value indicating whether to show gene sets enriched in all samples. |
sample_id_col |
The column of the results_table containing the sample id |
sample_ids |
A vector of sample identifiers to report. Can be used to subset the frame, or to add missing columns. |
title |
Title of the heat map plot. |
Steve Sansom
readGMT
p.adjust
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.