slingReducedDim {slingshot}R Documentation

Extract dimensionality reduction used by Slingshot

Description

Extract the dimensionality reduction used by slingshot.

Usage

slingReducedDim(x)

## S4 method for signature 'PseudotimeOrdering'
slingReducedDim(x)

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

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

Arguments

x

an object containing slingshot output.

Value

A matrix of coordinates.

Examples

data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
pto <- slingshot(rd, cl, start.clus = '1')
slingReducedDim(pto)

[Package slingshot version 2.0.0 Index]