mm_coords_to_shape {moRphomenses}R 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.


[Package moRphomenses version 1.0.2 Index]