Fit a pairwise alignment model
Value
A pairwise fit object whose class depends on the method (e.g., grasp_pair_fit, parrot_pair_fit). Contains alignment results including transform parameters and loss.
Examples
# \donttest{
set.seed(1)
X1 <- matrix(rnorm(50), 25, 2)
X2 <- matrix(rnorm(50), 25, 2)
algo <- grasp_aligner()
fit <- fit_pair(algo, X1, X2)
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'x' in selecting a method for function 'colSums': non-conformable matrix dimensions in .Arith.Csparse(e1, e2, .Generic, class. = "dgCMatrix")
# }