Description Usage Arguments Author(s)
Ridge plot for multiple categories
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ridge_all_types(
xx,
x_col = "value",
y_col = "category",
sort_by = "p.adjust",
default_theme = F,
color_col = "cluster",
not_show_prop = 0.01,
term_length = 60,
show_num = NULL,
simplification = T,
amplify_font = 1.2,
AP = NULL,
sim_dict = NULL,
append_default_dict = T
)
|
xx |
a dataframe generated from run_GSEA_all_types |
x_col |
the column for the x axis of ridge plot |
y_col |
the column for the y axis of ridge plot |
sort_by |
by which column in |
default_theme |
whether to use ggplot default_theme |
color_col |
color by which column in |
not_show_prop |
proportion of the data with extreme values of fold changes that are not shown, in order to truncate the x axis and avoid white spaces in the final plot. |
term_length |
remove terms beyond a certain length |
show_num |
how many enriched terms to show |
simplification |
whether to simplify the GO/KEGG/Reactome terms |
amplify_font |
increase the font size of the y axis labels by a ratio, which represent the enrichment terms |
AP |
aesthetic parameters |
sim_dict |
a data frame with 2 columns: 'ori' for the original terms, 'sub' for the strings that will replace the original terms. The default is a a limited data frame built into this package. |
append_default_dict |
append default dictionary to simplify the terms |
Yutong Chen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.