Skip to contents

Clustering Cells Using Dimensional Reduction by TockyPCA.

Usage

TockyClustering(
  x,
  choose_dimension = FALSE,
  max_cells_displayed = 30000,
  num_centre = FALSE
)

Arguments

x

A TockyPrepData after running the function TockyPCA.

choose_dimension

Whether the number of dimension is specified by PCA plot. Default is FALSE.

max_cells_displayed

The number of cells displayed in plots for interatcive PCA plots.

num_centre

Whether the number of clusters is specified. Default is FALSE and the number of variables will be used.

Value

The slot Reduction will contain the new slot PCAclusters, which includes kmeans clustering result

Examples

if (FALSE) { # \dontrun{
x <- TockyClustering(x)
} # }