pcurve_ordering.RdPrincipal curve ordering
pcurve_ordering(
X,
smoother = c("smooth_spline", "lowess", "periodic_lowess"),
thresh = 0.001,
maxit = 10,
stretch = 2,
approx_points = FALSE,
scale01 = TRUE,
orient_by_pc1 = TRUE
)list(t, keep_idx, fit)