Basic functions

facefuns()

Quickstart to shape analyses of 2-D or 3-D data

read_lmdata()

Read landmark data

read_vertices()

Read vertices from PLY or OBJ files

select_pcs()

Select principal components

make_pcs()

Create list of PCs

plot_2dpcs()

Plot 2D PCs

plot_3dpcs()

Plot 3-D PCs

mirror_templates()

Mirror landmark templates

symm_templates()

Symmetrize landmark templates

Shape metrics

Functions for calculating commonly derived morphometric descriptives

calc_avg()

Calculate averageness

calc_ed()

Calculate Euclidean distance

calc_vs()

Calculate vector score

calc_shapevs()

Calculate vector scores from Procrustes-aligned landmark templates

calc_ds()

Calculate linear discriminant scores

calc_as()

Calculate asymmetry

calc_fa()

Calculate fluctuating asymmetry

calc_fageo()

Calculate fluctuating asymmetry

Utility and helper functions

bind_arrays()

Bind arrays

convert_array_to_matrix()

Convert 3D array into matrix

convert_points_to_mesh()

Convert 3-D coordinates to 3-D mesh

convert_points_to_knownmesh()

Convert 3-D coordinates to 3-D mesh based on reference mesh

convert_tem_to_tps()

Read Webmorph template files

frl_features()

Get point indices for FRL standard template features

geom_flat_violin()

Flat violin geom by Ben Marwick

geom_split_violin()

Split violin geom

make_id()

Make ID

remove_points()

Remove points/landmarks from 2-D templates

Example data

Data included in facefuns

LondonSet_info

FRL London Set

LondonSet_aligned

FRL London Set

LondonSet_aligned

FRL London Set

LondonSet_scores

FRL London Set

mirroredlandmarks

Mirrored landmarks order

Shiny apps

facefuns_app()

Launch Shiny App