Plots 2d representation of metacells
supercell_DimPlot(
SC,
groups = NULL,
dim.name = "PCA",
dim.1 = 1,
dim.2 = 2,
color.use = NULL,
asp = 1,
alpha = 0.7,
title = NULL,
do.sqtr.rescale = FALSE
)
SuperCell computed metacell object (the output of SCimplify)
an assigment of metacells to any group (for ploting in different colors)
name of the dimensionality reduction to plot (must be a field in SC
)
dimension to plot on X-axis
dimension to plot on Y-axis
colros to use for groups, if NULL
, an automatic palette of colors will be applied
aspect ratio
a rotation of the layout (either provided or computed)
a title of a plot
whether to sqrt-scale node size (to balance plot if some metacells are large and covers smaller metacells)