View source: R/spatial_variable_gene.R
spatial_signature_plot | R Documentation |
Plot the spatial expression patterns on a group of genes.
spatial_signature_plot( object, assay = "enhanced", gene.set, set.name, pt.size.factor = 2, alpha = 0.5, color.scale = c("gray95", "gray80", "wheat", "pink", "orange", "red", "red4"), quantile.cutoff = 0.95, legend = FALSE )
object |
seurat object |
assay |
choose assay |
gene.set |
vector contain the genes to plot |
set.name |
set the name for the plot |
pt.size.factor |
point size |
alpha |
transparency of the points |
color.scale |
set the color scale. Default: c("gray95", "gray80", "pink", "orange", "red", "red4") |
quantile.cutoff |
0 to 1. Set the quantile of expression of the max value. Default: 0.95% of the max. |
legend |
whether to plot the legend |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.