Description Usage Arguments Value
Transfers the labels
1 2 3 | TransferData(anchorset, refdata, reduction = "pcaproject",
l2.norm = FALSE, dims = 1:30, k.weight = 50, sd.weight = 1,
eps = 0, do.cpp = TRUE, verbose = TRUE, slot = "data")
|
anchorset |
Results from FindTransferAnchors |
refdata |
Data to transfer. Should be either a vector where the names correspond to reference cells, or a matrix, where the column names correspond to the reference cells. |
reduction |
Dimensional reduction to use for the weighting. Options are:
|
l2.norm |
Perform L2 normalization on the cell embeddings after dimensional reduction |
dims |
Number of PCs to use in the weighting procedure |
k.weight |
Number of neighbors to consider when weighting |
sd.weight |
Controls the bandwidth of the Gaussian kernel for weighting |
eps |
Error bound on the neighbor finding algorithm (from RANN) |
do.cpp |
Run cpp code where applicable |
verbose |
Print progress bars and output |
slot |
Slot to store the imputed data |
If refdata is a vector, returns a dataframe with label predictions. If refdata is a matrix, returns an Assay object where the imputed data has been stored in the provided slot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.