Calculate the attraction of cells to other cells using velocity
calculate_attraction(
current,
projected,
cells = colnames(projected),
n_waypoints = 50,
k = 50
)
Matrix containing the attraction ([-1, 1]) of each cell to the waypoint cells
Current expression
Projected expression based on RNA velocity
Which cells to use
Number of waypoints to use
K knns