View source: R/project_waypoints.R
project_waypoints | R Documentation |
This will first calculate the geodesic distance of each cell to the waypoint. This distance is used as a weight
project_waypoints(
trajectory,
space,
waypoints = select_waypoints(trajectory),
trajectory_projection_sd = sum(trajectory$milestone_network$length) * 0.05
)
trajectory |
The trajectory as created by |
space |
A matrix with cells in rows and different dimensions in the columns. This is typically an expression matrix or a dimensionality reduction |
waypoints |
A set of waypoints, which can be created by
|
trajectory_projection_sd |
The standard deviation of the gaussian kernel |
A matrix in which the waypoints (rows) were projected into a new space defined by the same number of dimensions (columns) as in the space
argument
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.