View source: R/visualization.R
ISpatialFeaturePlot | R Documentation |
Visualize features spatially and interactively
ISpatialFeaturePlot(
object,
feature,
image = NULL,
image.scale = "lowres",
slot = "data",
alpha = c(0.1, 1)
)
object |
A Seurat object |
feature |
Feature to visualize |
image |
Name of the image to use in the plot |
image.scale |
Choose the scale factor ("lowres"/"hires") to apply in order to matchthe plot with the specified 'image' - defaults to "lowres" |
slot |
If plotting a feature, which data slot to pull from (counts, data, or scale.data) |
alpha |
Controls opacity of spots. Provide as a vector specifying the min and max for SpatialFeaturePlot. For SpatialDimPlot, provide a single alpha value for each plot. |
Returns final plot as a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.