
Wrapper function for the fastMNN parameters
params_sc_fastmnn.RdWrapper function for the fastMNN parameters
Usage
params_sc_fastmnn(
ndist = 3,
cos_norm = TRUE,
no_pcs = 30L,
sparse_svd = TRUE,
knn = list(k = 20L),
pca = params_sc_pca()
)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.- no_pcs
Integer. Number of PCs to use for MNN calculations. Defaults to
30L.- sparse_svd
Boolean. Shall the sparse SVD be used. Defaults to
TRUE.- 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,extract_knn,m,ef_construction,ef_search,n_listandn_probe. Seeparams_knn_defaults()for the available elements. Defaults tolist(k = 20L).- pca
List. Parameters to feed through to the optional recalculation of the PCA, see
params_sc_pca(). Seeparams_sc_pca()for the available elements. Defaults toparams_sc_pca().
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.no_pcs - Integer. Number of PCs to use for MNN calculations. Defaults to
30L.sparse_svd - Boolean. Shall the sparse SVD be used. Defaults to
TRUE.The elements of
params_knn_defaults(), overridden byknn, spliced in at this position.The elements of
params_sc_pca(), overridden bypca, spliced in at this position.