View source: R/scVolcanoPlot.R
scVolcanoPlot | R Documentation |
Volcano Plot for DGEs
scVolcanoPlot(
object = NULL,
key = NULL,
cluster = NULL,
padj = 0.05,
logFC = 0.585,
cols = NULL,
pt.size = NULL,
species.by = NULL,
top_n = NULL,
labels = NULL,
label.size = NULL,
box = TRUE,
raster = TRUE
)
object |
A seurat object. |
key |
The DE matrix are stored in object@misc$key |
cluster |
Cluster specified by the user |
padj |
Cutoff of adjusted pvalue |
logFC |
Log2FoldChange in DGEs |
cols |
Colours to pain the dots, default cols=c('#808080', '#810F7C', '#006D2C', '#000000') |
pt.size |
Size of the dots, default pt.size=1 |
species.by |
Species which is used to divid cells into two groups |
top_n |
Number of up- and down-regulated genes to show |
labels |
An array of gene names to show |
label.size |
Font size of the labels, default label.size=2.5 |
box |
Draws a rectangle behind the labels, default is TRUE |
raster |
Convert points to raster format, default is TRUE |
A ggplot object
data("H3N2_small")
scVolcanoPlot(object = H3N2_small,
key = "Infected_vs_Bystander",
cluster = "0",
top_n = 5
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.