
Wrapper function for the GPU fastMNN parameters
params_sc_fastmnn_gpu.RdGPU counterpart to bixverse::params_sc_fastmnn(). Same fastMNN
knobs minus the PCA ones, since the GPU path corrects the PCA already stored
in the object. The kNN block is the GPU one, see params_knn_gpu_defaults(),
with k and ann_dist defaulting to the CPU values.
Usage
params_sc_fastmnn_gpu(ndist = 3, cos_norm = TRUE, knn = list())Arguments
- ndist
Numeric. Number of median distances for the tricube kernel bandwidth. Defaults to
3.0.- cos_norm
Boolean. Apply cosine normalisation before computing distances. Defaults to
TRUE.- knn
List. Optional overrides for the kNN block. See
params_knn_gpu_defaults()for the available elements. Unknown elements are an error. Defaults tolist().
Value
A named list with the following elements:
ndist - Numeric. Number of median distances for the tricube kernel bandwidth. Defaults to
3.0.cos_norm - Boolean. Apply cosine normalisation before computing distances. Defaults to
TRUE.The elements of
params_knn_gpu_defaults(), overridden byknn, spliced in at this position.