calculate_procrustes_difference {topolow} | R Documentation |
Calculate Procrustes Difference Between Maps
Description
Computes the quantitative difference between two maps using Procrustes analysis. The difference is calculated as the sum of squared differences after optimal rotation and scaling.
Usage
calculate_procrustes_difference(map1, map2)
Arguments
map1 |
Data frame with coordinates from first map (must have X, X.1 columns) |
map2 |
Data frame with coordinates from second map (must have X, X.1 columns) |
Value
A single numeric value representing the sum of squared differences after Procrustes transformation.
Examples
# Create sample map data
map1 <- data.frame(name = letters[1:10], X = rnorm(10), X.1 = rnorm(10))
map2 <- data.frame(name = letters[1:10], X = rnorm(10), X.1 = rnorm(10))
diff <- calculate_procrustes_difference(map1, map2)
[Package topolow version 1.0.0 Index]