plot_markers | R Documentation |
Plot a dot plot of n marker features grouped by cell metadata available methods are wilcoxon rank-sum test implemented in presto and specificity scores implemented in genesorteR
plot_markers(
seu,
metavar = "batch",
num_markers = 5,
selected_values = NULL,
return_plotly = FALSE,
marker_method = "presto",
seurat_assay = "gene",
hide_technical = NULL,
unique_markers = FALSE,
p_val_cutoff = 1,
...
)
seu |
a seurat object |
metavar |
the metadata variable from which to pick clusters |
num_markers |
default is 5 |
return_plotly |
whether to return an interactive ploly plot |
marker_method |
either "presto" or "genesorteR" |
hide_technical |
whether to exclude mitochondrial or ribosomal genes |
... |
# interactive mode using "presto"
plot_markers(human_gene_transcript_seu, metavar = "tech", marker_method = "presto", return_plotly = TRUE)
# static mode using "presto"
plot_markers(human_gene_transcript_seu, metavar = "tech", marker_method = "genesorteR", return_plotly = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.