trajectory_landmarks {uSORT} | R Documentation |
determining initial trajectory and landmarks
trajectory_landmarks(knn, data, s, partial_order = NULL, waypoints = 250, waypoints_seed = 123, metric = "euclidean", flock_waypoints = 2, band_sample = FALSE)
knn |
A sparse matrix of knn. |
data |
data. |
s |
The ID of starting point. |
partial_order |
A vector of IDs specified as recommended waypoints, NULL to ignore. |
waypoints |
Either the number of waypoints, or specify the waypoint IDs. |
waypoints_seed |
Random sampling seed, for reproducible results. |
metric |
Distance calculation metric for nearest neighbour detection. |
flock_waypoints |
Iteration of using nearest points around waypoint to adjust its position. |
band_sample |
if give more chance to nearest neighbours of starting point in randomly waypoints selection. |
a list