powered by
select_k uses the alpha-hull to determine which value of k yields an embedding that most resembles a trajectory.
select_k
select_k(exp_mat, kmin = 5, kmax = 50, by = 5)
Matrix of expression levels
Smallest value of k to try
Largest value of k to try
Increment
The optimal value of k
# NOT RUN { genes = select_genes(traj) k = select_k(traj[,genes]) # }
Run the code above in your browser using DataLab