Learn R Programming

slingshot (version 2.1.1)

slingReducedDim: Extract dimensionality reduction used by Slingshot

Description

Extract the dimensionality reduction used by slingshot.

Usage

slingReducedDim(x)

# S4 method for PseudotimeOrdering slingReducedDim(x)

# S4 method for SlingshotDataSet slingReducedDim(x)

# S4 method for SingleCellExperiment slingReducedDim(x)

Arguments

x

an object containing slingshot output.

Value

A matrix of coordinates.

Examples

Run this code
# NOT RUN {
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
pto <- slingshot(rd, cl, start.clus = '1')
slingReducedDim(pto)
# }

Run the code above in your browser using DataLab