
Helper function to generate the scran HVG trend defaults
params_hvg_scran_defaults.RdTrend parameters for method = "scran" in params_sc_hvg().
They mirror scrapper's fitVarianceTrend() defaults before scrapper 1.8,
which switched use.min.width to TRUE. The lowess span comes from
loess_span in params_sc_hvg().
Value
A named list with the following elements:
mean_filter - Boolean. Shall genes below
min_meanbe left out of the trend fit. Defaults toTRUE.min_mean - Numeric. Minimum mean log-expression for a gene to enter the trend fit. Defaults to
0.1.transform - Boolean. Shall the variances be fourth-root transformed before the fit. Defaults to
TRUE.use_min_width - Boolean. Shall the lowess window be defined by
min_widthandmin_window_countinstead of the span. Defaults toFALSE.min_width - Numeric. Minimum window width, only used with
use_min_width = TRUE. Defaults to1.0.min_window_count - Integer. Minimum number of genes per window, only used with
use_min_width = TRUE. Defaults to200L.