Plot dimensionality reduction from computed metrics including PCA, ICA, tSNE and UMAP

plotDimRed(
  inSCE,
  useReduction,
  showLegend = FALSE,
  xAxisLabel = NULL,
  yAxisLabel = NULL
)

Arguments

inSCE

Input SCE object

useReduction

Reduction to plot

showLegend

If legends should be plotted or not

xAxisLabel

Specify the label for x-axis. Default is NULL which will specify the label as 'x'.

yAxisLabel

Specify the label for y-axis. Default is NULL which will specify the label as 'y'.

Value

plot object

Examples

data("mouseBrainSubsetSCE", package = "singleCellTK") plotDimRed(mouseBrainSubsetSCE, "PCA_logcounts")