met.plot_volcano | R Documentation |
met.plot_volcano
generates a volcano plot for a specified contrast.
met.plot_volcano(
mSetObj = NA,
grp1,
grp2,
test = "ttest",
paired = FALSE,
nonpar = FALSE,
equal.var = TRUE,
log2fc.thresh = 1,
threshp = 0.05,
pval.type = "fdr",
imgName = NULL,
format = "pdf",
add_names = TRUE,
label_size = 3,
dpi = NULL,
width = NA,
plot = TRUE,
export = TRUE,
silent = FALSE,
test_condition = FALSE
)
mSetObj |
Input name of the created mSet object,
Data container after ANOVA analysis ( |
grp1 |
(Character) Enter name of the first group for the contrast |
grp2 |
(Character) Enter name of the second group for the contrast |
test |
(Character) Choose a statistical tests. For |
paired |
(Logical) Is the data paired ( |
nonpar |
(Logical) Use a non-parametric test ( |
equal.var |
(Logical) The two groups have equal variance ( |
log2fc.thresh |
(Numeric) Enter a relevance threshold for log2 fold changes, highlighted in the plot by vertical lines and colored compounds |
threshp |
(Numeric) Enter a significance threshold for features based on T-test or ANOVA test results, highlighted in the plot by an horizontal line and colored compounds |
pval.type |
(Character) Display and apply significance threshold to |
imgName |
(Character) Enter a name for the image file (if |
format |
( |
add_names |
(Logical) Display labels of significant features ( |
label_size |
(Numeric) Font size for feature labels (if |
dpi |
(Numeric) resolution of the image file (if |
width |
(Numeric) width of the the image file in inches (if |
plot |
(Logical, |
export |
(Logical, |
silent |
(Logical) Shall the results of |
test_condition |
(Logical) Add a subtitle with the applied data transformation and scaling methods be displayed below the plot title ( |
The input mSet object with added volcano plot (generated by ggplot
). The plot can be retrieved from within R via print(mSetObj$imgSet$volcano$grp1_vs_grp2.plot)
.
Nicolas T. Wirth mail.nicowirth@gmail.com Technical University of Denmark License: GNU GPL (>= 2)
adapted from plot_volcano
(https://bioconductor.org/packages/DEP/).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.