MapTo | R Documentation |
This function is a wrapper for Seurat's TransferData, IntegrateEmbeddings, and ProjectUMAP functions, meant to be run after OptiK, as part of the Denoise/OptiK/MapTo pipeline.
MapTo(
ref,
query,
lab = "seurat_clusters",
k = "opti",
get.anchors = T,
dims = 30
)
ref |
Reference Seurat object |
query |
Wuery Seurat object |
lab |
The reference label to treat as clusters. Default is "seurat_clusters" |
k |
The k-weight to use when weighting anchors. Default is opti |
get.anchors |
A logical that when true will first run Seurat's FindTransferAnchors. Default is TRUE. |
dims |
Number of PCs to use when get.anchors = T. Default is 30 |
Returns a Seurat object with a new slot where the k-weight is stored: misc$CellTools$opti_k
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.