View source: R/calculate_trajectory_dimred.R
calculate_trajectory_dimred | R Documentation |
Layout the trajectory and its cells in 2 dimensions using a graph layout
calculate_trajectory_dimred(trajectory, adjust_weights = FALSE)
trajectory |
The trajectory as created by |
adjust_weights |
Whether or not to rescale the milestone network weights |
A list containg
milestone_positions: A dataframe containing the milestone_id and the location of each milestone (comp_1 and comp_2)
edge_positions: A dataframe containing for each edge (from, to, length and directed columns) the position of the from milestone (comp_1_from and comp_2_from) and to milestone (comp_1_to and comp_2_to).
cell_positions: A dataframe containing the cell_id and the ¨location of each cell (comp_1 and comp_2)
divergence_edge_positions: A dataframe as edge_positions but for each edge within a divergence
divergence_polygon_positions: A dataframe containing the triangle_id and the location of the milestone within a divergence (comp_1 and comp_2)
wrap_data()
trajectory_dimred <- calculate_trajectory_dimred(example_trajectory)
head(trajectory_dimred$milestone_positions)
head(trajectory_dimred$edge_positions)
head(trajectory_dimred$cell_positions)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.