View source: R/14_Volcano_plot.R
romicsVolcano | R Documentation |
generate one or multiple volcano plots from t.test or wilcox.test run using the functions romicsTtest() or romicsWilcoxTest() respectively
romicsVolcano( romics_object, p_type = "p", p = 0.05, min_fold_change = 0.6, colors = c("#2cbcb2", "#242021", "#d44e28"), stat_type = "t.test", plot = "all", plot_type = "ggplot" )
p_type |
'p' or 'padj' to indicate the type of tpvalue to consider for the volcano plots. |
p |
numeric value to indicate the maximum pvalue to use for the coloring of the volcano plot |
colors |
numeric vector of lenght 3 used to color the features lower, not significantly changing and higher in the considered comparisons. |
stat_type |
't.test' or 'wilcox.test' to indicate what statistics to use for the volcano plots generation. |
plot |
either 'all' if all paired comparisons have to be displayed OR a vector of numeric values comprised between 1 and the maximum number of possible plots generated. |
plot_type |
'plotly' or 'ggplot' to indicate the type of plot to be returned. |
generate one or multiple volcano plots from t.test or wilcox.test run using the functions romicsTtest() or romicsWilcoxTest() respectively
This function will print different plot requested
Geremy Clair
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.