View source: R/tmod_panelplot.R
gg_panelplot | R Documentation |
Create a tmod panel plot using ggplot
gg_panelplot(
res,
pie,
auc_thr = 0.5,
q_thr = 0.05,
filter_row_q = 0.01,
filter_row_auc = 0.65,
q_cutoff = 1e-12,
label_angle = 45,
cleanup = TRUE,
add_ids = TRUE
)
res |
a list with tmod results (each element of the list is a data frame returned by a tmod test function) |
pie |
a list with summaries of significantly DE genes by gene set. Each a element of the list is a matrix returned by tmodDecideTests. |
auc_thr |
gene sets enrichments with AUC below |
q_thr |
gene sets enrichments with q (adjusted P value) above |
filter_row_q |
Gene sets will only be shown if at least in one
contrast q is smaller than |
filter_row_auc |
Gene sets will only be shown if at least in one
contrast AUC is larger than |
q_cutoff |
Any q value below |
label_angle |
The angle at which column labels are shown |
cleanup |
attempt to clean up gene set titls |
add_ids |
add IDs of gene sets to their titles on the plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.