Description Usage Arguments Value
Deseq2 style Volcano plot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | seurat_volcano(
markers,
group1,
group2,
group1_col = "group",
group2_col = "compare_group",
label_genes = NULL,
weighting = "logFC",
pval = "padj",
gene = "feature",
weight_thres = 0.25,
show_gene_num = 30,
logy = T,
AP = NULL,
...
)
|
markers |
a dataframe, result generated from |
group1 |
comparison group1 |
group2 |
comparison group2 |
group1_col |
a column in |
group2_col |
a column in |
label_genes |
which genes to show in the volcano plot |
weighting |
the x axis, i.e. log fold change |
pval |
the p value for the y axis |
gene |
where the gene names are stored |
weight_thres |
above which value in |
AP |
aesthetic parameter for controlling the plot |
... |
arguments for |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.