R/containment-and-band-creation.R
filament_distance_depth.Rd
Calculate filament depth (relative to distance depth)
filament_distance_depth( grouped_df, data_columns = NULL, dist_list_func = "auto", depth_func = distance_depth_function )
grouped_df | grouped_df data.frame object (assumed rows per filament are ordered) - grouped per each filament |
---|---|
data_columns | columns of data.frame that relate to
the filament's coordinates in euclidean space. The input should look like
something like |
dist_list_func | function to calculate distance between each filament.
The default is "auto", which is selects either
|
depth_func | function to distances observed between filaments, default
is |
depth_vector (of depth related to each filament)