plotClustSizeDistr: Cluster Size Distribution Plot (Barplot or Histogram)

View source: R/Seurat.utils.less.used.R

plotClustSizeDistrR Documentation

Cluster Size Distribution Plot (Barplot or Histogram)

Description

Generates a bar plot or histogram to visualize the size distribution of clusters within a Seurat object, based on the specified clustering identity.

Usage

plotClustSizeDistr(obj = combined.obj, ident, plot = TRUE, thr.hist = 30, ...)

Arguments

obj

Seurat object for analysis. Default: combined.obj.

ident

Clustering identity to base the plot on. Default: The second entry from GetClusteringRuns().

plot

Whether to display the plot (TRUE) or return cluster sizes (FALSE). Default: TRUE.

thr.hist

Threshold for switching from a bar plot to a histogram based on the number of clusters. Default: 30.

...

Extra parameters for the plot.

Examples

## Not run: 
plotClustSizeDistr()

## End(Not run)


vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.