slingClusterLabels: Extract cluster labels used by Slingshot

Description Usage Arguments Value Methods (by class) Examples

Description

Extract the cluster labels used by slingshot.

Usage

1
2
3
4
5
6
7
slingClusterLabels(x)

## S4 method for signature 'SlingshotDataSet'
slingClusterLabels(x)

## S4 method for signature 'SingleCellExperiment'
slingClusterLabels(x)

Arguments

x

an object containing slingshot output.

Value

a vector of cluster labels or a matrix of cluster assignment weights.

Methods (by class)

Examples

1
2
3
4
5
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
sds <- getLineages(rd, cl)
slingClusterLabels(sds)

slingshot documentation built on Nov. 8, 2020, 5:51 p.m.