plotDynamic {CellTrails}R Documentation

Visualize dynamics

Description

Shows dynamics of one or multiple features along a given trail

Usage

plotDynamic(sce, feature_name, trail_name)

Arguments

sce

A SingleCellExperiment object

feature_name

Name of one or multiple features

trail_name

Name of trail

Details

An error is thrown if the trail_name or feature_name are unknown. The function is case-sensitiv. All available trails can be listed by trailNames, all features with featureNames.

Value

A ggplot object

Author(s)

Daniel C. Ellwanger

See Also

addTrail trailNames featureNames

Examples

# Example data
data(exSCE)

# Plot dynamic of feature_10
plotDynamic(exSCE, trail_name="Tr1", feature_name="feature_1")
# Plot dynamic of feature_1 and feature_10
plotDynamic(exSCE, trail_name="Tr1",
            feature_name=c("feature_1", "feature_10"))

[Package CellTrails version 1.11.0 Index]