
Wrapper function for the GPU BBKNN parameters
params_sc_bbknn_gpu.RdGPU counterpart to bixverse::params_sc_bbknn(). Same BBKNN
knobs, but the kNN block is the GPU one, see params_knn_gpu_defaults().
Usage
params_sc_bbknn_gpu(
neighbours_within_batch = 3L,
set_op_mix_ratio = 1,
local_connectivity = 1,
trim = NULL,
knn = list()
)Arguments
- neighbours_within_batch
Integer. Number of neighbours to consider per batch. Defaults to
3L.- set_op_mix_ratio
Numeric. Mixing ratio between union (1.0) and intersection (0.0). Defaults to
1.0.- local_connectivity
Numeric. UMAP connectivity computation parameter, how many nearest neighbours of each cell are assumed to be fully connected. Defaults to
1.0.- trim
Integer or
NULL. Trim the neighbours of each cell to these many top connectivities. May help with population independence and improve the tidiness of clustering. IfNULL, it defaults to10 * neighbours_within_batch * n_batches, as in the reference implementation. Defaults toNULL.- knn
List. Optional overrides for the kNN block. See
params_knn_gpu_defaults()for the available elements. Withoutk. Unknown elements are an error. Defaults tolist().
Value
A named list with the following elements:
neighbours_within_batch - Integer. Number of neighbours to consider per batch. Defaults to
3L.set_op_mix_ratio - Numeric. Mixing ratio between union (1.0) and intersection (0.0). Defaults to
1.0.local_connectivity - Numeric. UMAP connectivity computation parameter, how many nearest neighbours of each cell are assumed to be fully connected. Defaults to
1.0.trim - Integer or
NULL. Trim the neighbours of each cell to these many top connectivities. May help with population independence and improve the tidiness of clustering. IfNULL, it defaults to10 * neighbours_within_batch * n_batches, as in the reference implementation. Defaults toNULL.The elements of
params_knn_gpu_defaults(), overridden byknn, spliced in at this position.