Description Usage Arguments Value Examples
Produces a volcano plot featuring differential expression results.
1 2 | plotVolcano(x, threshold = 0.005, l2fc = 2, labels = FALSE,
label.size = 5, check.overlap = TRUE)
|
x |
Differential expression results generated by
|
threshold |
Threshold to determine significant results by (Default: 5e-3). |
l2fc |
Threshold to determine significant Log2FoldChange by (Default: 2). |
labels |
Display names of significant results on plot (Default: FALSE). |
label.size |
Size of label text (Default: 5). |
check.overlap |
If labels = TRUE, remove overlapping labels |
A scatter plot rendered by ggplot2's geom_point.
1 2 3 4 5 6 7 8 9 10 | # Load EMSet that has undergone analysis
em_set <- ascend::analyzed_set
# Run differential expression analysis using combined LRT
de_result_df <- runDiffExpression(em_set, group = "cluster",
condition.a = 1, condition.b = 2, ngenes = 1500, subsampling = FALSE)
# Use function to generate volcano plot
my_volcano_plot <- plotVolcano(de_result_df, threshold = 5e-3, l2fc = 2,
labels = FALSE, check.overlap = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.