userLandmarks<- {CellTrails}R Documentation

SET user-defined landmarks

Description

Set user-defined landmarks to a SingleCellExperiment object.

Usage

userLandmarks(object) <- value

Arguments

object

A SingleCellExperiment object

value

A character vector with sample names

Details

Landmarks can be defined on the trajectory and can be necessary to extract individual trails from a trajectory.

Diagnostic messages

An error is thrown if the trajectory has not been reconstructed yet.

Value

An updated SingleCellExperiment object

Author(s)

Daniel C. Ellwanger

See Also

SingleCellExperiment fitTrajectory

Examples

# Example data
data(exSCE)

# Set landmarks
userLandmarks(exSCE) <- colnames(exSCE)[5:7]

[Package CellTrails version 1.8.0 Index]