
Wrapper function for Boost parameters
params_boost.RdWrapper function for Boost parameters
Arguments
- boost_rate
Numeric. Boosting rate for the algorithm. Must be between 0 and 1. Defaults to
0.25.- replace
Boolean. Whether to use replacement during boosting. Defaults to
FALSE.- resolution
Numeric. Resolution parameter for graph-based clustering. Higher values lead to more clusters. Defaults to
1.0.- n_iters
Integer. Number of iterations to run the algorithm. Defaults to
20L.- p_thresh
Numeric. P-value threshold for significance testing. Defaults to
1e-07.- voter_thresh
Numeric. Voter threshold across iterations. Proportion of iterations a cell must be assigned to a cluster to be considered a member. Must be between 0 and 1. Defaults to
0.9.- fast_cluster
Boolean. Shall fast Louvain clustering be applied, i.e., k-means clustering and use the centroids for kNN graph generation and Louvain clustering with then backpropagating the membership based on centroid proximity. Defaults to
FALSE.- normalisation
List. Optional overrides for normalisation parameters. See
params_norm_doublets_defaults()for available parameters:log_transform,mean_center,normalise_variance,target_size. Seeparams_norm_doublets_defaults()for the available elements. Defaults tolist().- hvg
List. Optional overrides for highly variable gene selection parameters. See
params_hvg_defaults()for available parameters:min_gene_var_pctl,hvg_method,loess_span,clip_max. Seeparams_hvg_defaults()for the available elements. Defaults tolist().- pca
List. Optional overrides for PCA parameters. See
params_pca_defaults()for available parameters:no_pcs,random_svd. Seeparams_pca_defaults()for the available elements. Defaults tolist().- 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. Note: this function defaults tok = 0L(automatic neighbour detection). Seeparams_knn_defaults()for the available elements. Defaults tolist(k = 0L).- fast_cluster_params
List. Optional overrides for the fast clustering parameters. Only relevant if
fast_cluster = TRUE. Seeparams_fast_cluster_default()for available parameters:km_type,n_centroids,kmeans_itersandbatch_size. Seeparams_fast_cluster_default()for the available elements. Defaults tolist().
Value
A named list with the following elements:
The elements of
params_norm_doublets_defaults(), overridden bynormalisation, spliced in at this position.The elements of
params_hvg_defaults(), overridden byhvg, spliced in at this position.The elements of
params_pca_defaults(), overridden bypca, spliced in at this position.The elements of
params_knn_defaults(), overridden byknn, spliced in at this position.The elements of
params_fast_cluster_default(), overridden byfast_cluster_params, spliced in at this position.boost_rate - Numeric. Boosting rate for the algorithm. Must be between 0 and 1. Defaults to
0.25.replace - Boolean. Whether to use replacement during boosting. Defaults to
FALSE.resolution - Numeric. Resolution parameter for graph-based clustering. Higher values lead to more clusters. Defaults to
1.0.fast_cluster - Boolean. Shall fast Louvain clustering be applied, i.e., k-means clustering and use the centroids for kNN graph generation and Louvain clustering with then backpropagating the membership based on centroid proximity. Defaults to
FALSE.n_iters - Integer. Number of iterations to run the algorithm. Defaults to
20L.p_thresh - Numeric. P-value threshold for significance testing. Defaults to
1e-07.voter_thresh - Numeric. Voter threshold across iterations. Proportion of iterations a cell must be assigned to a cluster to be considered a member. Must be between 0 and 1. Defaults to
0.9.