findSubclusters-methods: Find subclusters

findSubclustersR Documentation

Find subclusters

Description

Calculate spatial clusters inside the clusters already identified by gene expression information.

Usage

findSubclusters(
  object,
  assay.type = "ST",
  sample.name = "Sample1",
  cluster.column = "population",
  subcluster.column = "Subpopulation",
  method = c("mclust", "dbscan"),
  eps = 2,
  minPts = 3
)

## S4 method for signature 'CellRouter'
findSubclusters(
  object,
  assay.type = "ST",
  sample.name = "Sample1",
  cluster.column = "population",
  subcluster.column = "Subpopulation",
  method = c("mclust", "dbscan"),
  eps = 2,
  minPts = 3
)

Arguments

object

the CellRouter object.

assay.type

character; the type of data to use.

sample.name

character; the name of the tissue sample.

cluster.column

character; the name of the column where the clustering information is stored.

subcluster.column

character; the name of the column where the subclustering information will be stored.

method

character; method to perform clustering (mclust or dbscan).

eps

numeric; eps parameter for the DBSCAN method.

minPts

numeric; minPts parameter for the DBSCAN method.

Value

the CellRouter object.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.