Compute Group Template (v) Recovery Metrics
Source:R/hatsa_validation_metrics.R
compute_v_recovery.Rd
Evaluates how well the estimated group-level spectral template (`object$v` from a `hatsa_projector` object) matches a true ground-truth spectral basis.
Value
A list containing:
- correlation
Pearson correlation between the vectorized aligned estimated template and the vectorized true template.
- frobenius_norm_diff
Frobenius norm of the difference between the aligned estimated template and the true template.
- procrustes_result
The result of the `vegan::procrustes` call.
- v_aligned
The Procrustes-aligned estimated group template.