
Constructor for MELD parameters
params_meld.RdConstructor for MELD parameters
Arguments
- beta
Numeric. Smoothing strength; larger values produce smoother densities. Must be strictly positive. Defaults to
60.0.- offset
Numeric. Shift of the filter centre in the rescaled spectrum. Must be in
[0, 1]. Defaults to0.0.- order
Numeric. Filter falloff sharpness; larger values approach a square low-pass. Must be strictly positive. Defaults to
1.0.- filter
String. Filter family to use. One of
c("heat", "laplacian"). Defaults to"heat".- chebyshev_order
Integer. Number of Chebyshev coefficients (polynomial terms). Must be >= 2. Defaults to
50L.- lap_type
String. Type of Laplacian to use for spectral filtering. One of
c("combinatorial", "normalised"). Defaults to"combinatorial".- normalise_indicators
Boolean. If
TRUE, each column of the indicator matrix is divided by its column sum before filtering, making cross-condition densities comparable regardless of cells-per-condition. Defaults toTRUE.- knn
List. Optional overrides for kNN parameters. See
params_knn_defaults()for available parameters:k,knn_method,ann_dist,search_budget,n_trees,delta,diversify_prob,ef_budget,m,ef_construction,ef_search,n_listandn_probe. Seeparams_knn_defaults()for the available elements. Defaults tolist().
Value
A named list with the following elements:
The elements of
params_knn_defaults(), overridden byknn, spliced in at this position.beta - Numeric. Smoothing strength; larger values produce smoother densities. Must be strictly positive. Defaults to
60.0.offset - Numeric. Shift of the filter centre in the rescaled spectrum. Must be in
[0, 1]. Defaults to0.0.order - Numeric. Filter falloff sharpness; larger values approach a square low-pass. Must be strictly positive. Defaults to
1.0.filter - String. Filter family to use. One of
c("heat", "laplacian"). Defaults to"heat".chebyshev_order - Integer. Number of Chebyshev coefficients (polynomial terms). Must be >= 2. Defaults to
50L.lap_type - String. Type of Laplacian to use for spectral filtering. One of
c("combinatorial", "normalised"). Defaults to"combinatorial".normalise_indicators - Boolean. If
TRUE, each column of the indicator matrix is divided by its column sum before filtering, making cross-condition densities comparable regardless of cells-per-condition. Defaults toTRUE.