
Plot Feature Counts by Neighborhood
plotNeighborhoodCellCounts.Rd
Violin plots showing the cell neighbor composition of each neighborhood.
Arguments
- object
A SpatialMap object with
cellNeighborhoods
andneighborhoodClusters
run.- nn
The name of an NN object. NN objects can be viewed using the
listNNs
function- 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
feature
categories