FindBridgeTransferAnchors | R Documentation |
Find a set of anchors between unimodal query and the other unimodal reference
using a pre-computed BridgeReferenceSet
.
This function performs three steps:
1. Harmonize the bridge and query cells in the bridge query reduction space
2. Construct the bridge dictionary representations for query cells
3. Find a set of anchors between query and reference in the bridge graph laplacian eigenspace
These anchors can later be used to integrate embeddings or transfer data from the reference to
query object using the MapQuery
object.
FindBridgeTransferAnchors(
extended.reference,
query,
query.assay = NULL,
dims = 1:30,
scale = FALSE,
reduction = c("lsiproject", "pcaproject"),
bridge.reduction = c("direct", "cca"),
verbose = TRUE
)
extended.reference |
BridgeReferenceSet object generated from
|
query |
A query Seurat object |
query.assay |
Assay name for query-bridge integration |
dims |
Number of dimensions for query-bridge integration |
scale |
Determine if scale the query data for projection |
reduction |
Dimensional reduction to perform when finding anchors. Options are:
|
bridge.reduction |
Dimensional reduction to perform when finding anchors. Can be one of:
|
verbose |
Print messages and progress |
Returns an AnchorSet
object that can be used as input to
TransferData
, IntegrateEmbeddings
and
MapQuery
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.