mm_coords_to_shape: Visualize shape of target coordinates

mm_coords_to_shapeR Documentation

Visualize shape of target coordinates

Description

Visualize shape of target coordinates

Usage

mm_coords_to_shape(A, PCA, target_coords, target_PCs = c(1, 2))

Arguments

A

A landmark array used for the pca

PCA

output of prcomp. Should contain $transormation

target_coords

A single set of X,Y coordinates.

target_PCs

Integer identifying which pc to use on the X and Y axis. Default is c(1,2) for PC1 on x and PC2 on y

Value

A landmark array representing the hypothetical shape of a given set of coordinates.


ehrlichd/moRphomenses documentation built on Dec. 13, 2024, 8:36 a.m.