getClusterInputData: Get data to use as input clustering algorithms

View source: R/getClusterInputData.R

getClusterInputDataR Documentation

Get data to use as input clustering algorithms

Description

Get data to use as input clustering algorithms

Usage

getClusterInputData(
  inSCE,
  inputData,
  useAssay = "logcounts",
  reducedDimName = NULL
)

Arguments

inSCE

Input SCtkExperiment object. Required

inputData

A string ("Raw Data", "PCA Components", "tSNE Components", "UMAP Components")

useAssay

Indicate which assay to use for PCA. Default is "logcounts"

reducedDimName

If clustering on PCA, t-SNE or UMAP data, dimension name. The toolkit will store data with the pattern <ASSAY>_<ALGORITHM>.

Value

Cluster input data

Examples

data("mouseBrainSubsetSCE")
getClusterInputData(mouseBrainSubsetSCE, "PCA Components",
                    useAssay = "logcounts", reducedDimName = "PCA_logcounts")


mmkhan19/singleCellTK documentation built on March 22, 2022, 7:43 a.m.