View source: R/visualization.R
plotEnhancedVolcano | R Documentation |
Create volcano plot with EnhancedVolcano
plotEnhancedVolcano(result, group, ...)
result |
Data frame table returned by |
group |
Selection of one group available from |
... |
Arguments passed to EnhancedVolcano::EnhancedVolcano(), except
that |
ggplot
if (requireNamespace("EnhancedVolcano", quietly = TRUE)) {
defaultCluster(pbmc) <- pbmcPlot$leiden_cluster
# Test the DEG between "stim" and "ctrl", within each cluster
result <- runPairwiseDEG(
pbmc,
groupTest = "stim",
groupCtrl = "ctrl",
variable1 = "dataset",
splitBy = "defaultCluster"
)
plotEnhancedVolcano(result, "0.stim")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.