
Plot Feature Counts by Neighborhood
plotNeighborhoodCellCounts.RdViolin plots showing the cell neighbor composition of each neighborhood.
Arguments
- object
A SpatialMap object with
cellNeighborhoodsandneighborhoodClustersrun.- nn
The name of an NN object. NN objects can be viewed using the
listNNsfunction- feature
The name of the cellMetadata feature (e.g. cell type) used for defining neighborhoods.
- color.pal
The color palette to use. Should be a vector of colors matching the number of
featurecategories