Extract Trajectories for a Given Gradient Flow Cell (gfc.flow)
Source:R/gfc_flow.R
cell.trajectories.gfc.flow.RdExtracts all stored trajectories connecting a specified minimum and maximum
(a gradient-flow cell) from a gfc.flow object.
Usage
# S3 method for class 'gfc.flow'
cell.trajectories(
x,
min.id,
max.id,
map = NULL,
trajectory.format = c("vertices", "with.y.hat.modified"),
gfc.flow = x,
...
)Arguments
- x
A
gfc.flowobject fromcompute.gfc()trajectory modes (orcompute.gfc.trajectory()/ deprecatedcompute.gfc.flow()).- min.id
Minimum identifier: label (character) or vertex index (numeric/integer).
- max.id
Maximum identifier: label (character) or vertex index (numeric/integer).
- map
Optional integer vector giving a vertex mapping (domain vertex IDs); if provided, returned trajectory vertices are mapped to indices via
match().- trajectory.format
Output format for
result$trajectories."vertices"(Default) List of integer vectors (vertex indices).
"with.y.hat.modified"List of lists with
$verticesand$y.hat.modified(NULL if not available).
- gfc.flow
Backward-compatible alias for
x.- ...
Additional arguments (currently ignored).