
Wrapper function for the Seurat label transfer parameters
params_sc_seurat_transfer.RdParameters of transfer_labels_seurat_sc(), Seurat's
FindTransferAnchors(reduction = "cca") followed by TransferData().
Usage
params_sc_seurat_transfer(
n_cc = 30L,
k_anchor = 5L,
k_score = 30L,
scale_max = 10,
l2_norm = TRUE,
k_weight = 50L,
sd = 1,
knn = list()
)Arguments
- n_cc
Integer. Canonical correlation vectors. Defaults to
30L.- k_anchor
Integer. Neighbours for the anchors. Defaults to
5L.- k_score
Integer. Neighbours for the anchor scores. Defaults to
30L.- scale_max
Numeric. Clip of the scaled features. Defaults to
10.0.- l2_norm
Boolean. L2 normalise the CCA space. Defaults to
TRUE.- k_weight
Integer. Anchors per query cell in the weights. Defaults to
50L.- sd
Numeric. Bandwidth divisor of the weights. Defaults to
1.0.- knn
List. Optional overrides for kNN parameters. See
params_knn_defaults()for available parameters. Only the backend is used; the neighbour counts arek_anchor,k_scoreandk_weight. Seeparams_knn_defaults()for the available elements. Defaults tolist().
Value
A named list with the following elements:
n_cc - Integer. Canonical correlation vectors. Defaults to
30L.k_anchor - Integer. Neighbours for the anchors. Defaults to
5L.k_score - Integer. Neighbours for the anchor scores. Defaults to
30L.scale_max - Numeric. Clip of the scaled features. Defaults to
10.0.l2_norm - Boolean. L2 normalise the CCA space. Defaults to
TRUE.k_weight - Integer. Anchors per query cell in the weights. Defaults to
50L.sd - Numeric. Bandwidth divisor of the weights. Defaults to
1.0.The elements of
params_knn_defaults(), overridden byknn, spliced in at this position.