Description Usage Arguments Value Author(s) Examples
PomaVolcano() generates a volcano plot from the PomaUnivariate(method = "ttest") result. The data can't have negative values.
1 2 3 4 5 6 7 8 9 10 11 12 13 | PomaVolcano(
data,
pval = "raw",
pval_cutoff = 0.05,
adjust = "fdr",
log2FC = 0.6,
xlim = 2,
labels = FALSE,
paired = FALSE,
var_equal = FALSE,
interactive = FALSE,
plot_title = TRUE
)
|
data |
A MSnSet object. First |
pval |
Select a pvalue type to generate the volcano plot. Options are: "raw" and "adjusted". |
pval_cutoff |
Numeric. Define the pvalue cutoff (horizontal line). |
adjust |
Multiple comparisons correction method for t test result. Options are: "fdr", "holm", "hochberg", "hommel", "bonferroni", "BH" and "BY". |
log2FC |
Numeric. Define the log2 fold change cutoff (vertical lines). |
xlim |
Numeric. Define the limits for x axis. |
labels |
Logical that indicates if selected labels will be plotted or not. Defaul is FALSE. |
paired |
Logical that indicates if the data is paired or not. |
var_equal |
Logical that indicates if the data variance is equal or not. |
interactive |
Logical that indicates if an interactive plot will be plotted or not. Defaul is FALSE. |
plot_title |
Logical that indicates if title will be plotted or not. Defaul is TRUE. |
A ggplot2 object.
Pol Castellano-Escuder
1 2 3 4 5 | data("st000336")
st000336 %>%
PomaImpute() %>%
PomaVolcano()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.