Description Usage Arguments Details Value
Align/rotate one embedding onto another
1 2 3 | align_embedding(x, y, ...)
rotate_embedding(x, y, ...)
|
x |
a numeric matrix of unaligned embedding coordinates |
y |
a numeric matrix to align 'x“ to |
... |
other arguments to pass BiocSingular::runSVD |
This is a (naive implementation) of Procuste's analysis,
the goal is to find a rotation matrix that most closely aligns the
matrix x
to the matrix y
by centering and rescaling. One method of solving this problem
is to perform singular value decomposition on
crossprod(y - colMeans(y), x - colMeans(x))
.
A matrix of dimension equal to x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.