gg_gene | R Documentation |
With spatial data, coordinates and given specific feature (gene or cell type), this function plots the map of this feature's spatial distribution.
gg_gene(feature, spatial_df, coord, title.anno = "Estimated")
feature |
Specific spatial feature to plot |
spatial_df |
A data.frame with rows as spatial spots and columns as each features |
coord |
Spatial coordinates that match the spatial data |
title.anno |
Annotation of the title |
a ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.