princurve_bootstrap: Principal Curve Bootstrap

princurve_bootstrapR Documentation

Principal Curve Bootstrap

Description

This function performs bootstrap estimation of principal curves based on the given input data.

Usage

princurve_bootstrap(
  input,
  df_range = NA,
  df_start = NA,
  df_end = NA,
  plot = TRUE
)

Arguments

input

A matrix or data frame representing the input data.

df_range

A numeric vector specifying the range of degrees of freedom (df) for principal curve fitting. If any element is set to NA, the range will be determined by df_start and df_end parameters.

df_start

A numeric value indicating the starting degree of freedom for principal curve fitting. Ignored if df_range is specified.

df_end

A numeric value indicating the ending degree of freedom for principal curve fitting. Ignored if df_range is specified.

plot

A logical value indicating whether to plot the principal curves.

Value

A list containing the principal curves fitted for different degrees of freedom.


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.