
Wrapper function for HVG detection parameters.
params_sc_hvg.RdWrapper function for HVG detection parameters.
Arguments
- method
String.
"residual"ranks genes by the residual variance of a model fitted withfit_residuals_sc(), and needs that fit on the object first. It also treatshvg_noas a per-group count and returns the union across groups, so a grouped fit can select more thanhvg_nogenes. One ofc("vst", "meanvarbin", "dispersion", "residual"). Defaults to"vst".- loess_span
Numeric. The span parameter for the loess function that is used to standardise the variance for
method = "vst". Defaults to0.3.- num_bin
Integer. Not yet implemented. Defaults to
20L.- bin_method
String. The binning method. One of
c("equal_width", "equal_freq"). Defaults to"equal_width".
Value
A named list with the following elements:
method - String.
"residual"ranks genes by the residual variance of a model fitted withfit_residuals_sc(), and needs that fit on the object first. It also treatshvg_noas a per-group count and returns the union across groups, so a grouped fit can select more thanhvg_nogenes. One ofc("vst", "meanvarbin", "dispersion", "residual"). Defaults to"vst".loess_span - Numeric. The span parameter for the loess function that is used to standardise the variance for
method = "vst". Defaults to0.3.num_bin - Integer. Not yet implemented. Defaults to
20L.bin_method - String. The binning method. One of
c("equal_width", "equal_freq"). Defaults to"equal_width".