getClusterInputData: Get data to use as input clustering algorithms

Description Usage Arguments Value Examples

View source: R/getClusterInputData.R

Description

Get data to use as input clustering algorithms

Usage

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

Arguments

inSCE

Input SCtkExperiment object. Required

inputData

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

useAssay

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

reducedDimName

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

Value

Cluster input data

Examples

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

singleCellTK documentation built on June 26, 2018, 10 a.m.