Cluster sample via Seurat

findSeuratClusters(
  object,
  mtr_name = getActiveMatrixName(object, of_sample = of_sample),
  FindVariableFeatures = list(selection.method = "vst", nfeatures = 2000),
  RunPCA = list(npcs = 60),
  FindNeighbors = list(dims = 1:30),
  FindClusters = list(resolution = 0.8),
  ...
)

Arguments

object

A valid spata-object.

mtr_name

Character value. The name of the matrix of interest.

FindVariableFeatures

A named list of arguments given to Seurat::FindVariableFeatures(), TRUE or FALSE.

RunPCA

A named list of arguments given to Seurat::RunPCA(), TRUE or FALSE.

FindNeighbors

A named list of arguments given to Seurat::FindNeighbors(), TRUE or FALSE.

FindClusters

A named list of arguments given to Seurat::FindClusters(), TRUE or FALSE.

...

Additional parameters given to Seurat::CreateSeuratObject().

Value

A tidy spata-data.frame containing the cluster variables.