Description Usage Arguments Details Value Author(s) See Also Examples
Retains a single component of a trajectory graph.
1 | selectTrajectory(sce, component)
|
sce |
A |
component |
Number of component to be selected |
The construction of a trajectory graph may result in a forest
having multiple tree components, which may represent individual
trajectories or isolated nodes. This method should be used to extract a
single component from the graph. A component is
identified by its (integer) number.
Diagnostic messages
An error is thrown if the states have not been connected yet;
function connectStates
needs to be called first. An
error is thrown if an unknown component (number) is selected.
An updated SingleCellExperiment
object
Daniel C. Ellwanger
1 2 3 4 5 | # Example data
data(exSCE)
# Select trajectory
exSCE <- selectTrajectory(exSCE, component=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.