plotTrail {CellTrails} | R Documentation |
Method highlights a single trail on the trajectory map
plotTrail(sce, name)
sce |
A |
name |
Name of the trail |
A trail can be defined with the function addTrail
between
two landmarks. User-defined landmarks can be set with the function
userLandmarks
. This function visualizes the start and endpoints, and
the pseudotime of a defined trail along the trajectory. The trail
pseudotimes can be directly accessed via the trails
.
An error is thrown if the trail_name
is unknown. The function is
case-sensitiv. All available trails can be listed by trailNames
.
A ggplot
object
Daniel C. Ellwanger
addTrail
userLandmarks
trailNames
trails
# Example data data(exSCE) # Plot trail plotTrail(exSCE, name="Tr1")