Learn R Programming

geomorph

Geomorph is a software package for performing all stages of geometric morphometric shape analysis of 2- and 3-dimensional landmark points, as well as semilandmarks on curves and surfaces, in the R statistical computing environment. This repository is dedicated to providing beta versions between CRAN uploads.

To install the current geomorph R-package from CRAN:

Within R:

install.packages("geomorph")

For Mac users: please also install XQuartz from https://www.xquartz.org/. This allows the library(rgl) to function.

To install the current version of geomorph R-package from Github using devtools:

Within R:

install.packages("devtools")

devtools::install_github("geomorphR/geomorph", ref = "Stable", build_vignettes = TRUE)

This installs a stable release of the current version of geomorph on CRAN, allowing us to quickly fix errors that slip thorough the cracks and are uploaded with the CRAN version.

Copy Link

Version

Install

install.packages('geomorph')

Monthly Downloads

2,095

Version

4.0.10

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Dean Adams

Last Published

February 5th, 2025

Functions in geomorph (4.0.10)

combine.subsets

Combine separate landmark configurations
compare.ZVrel

Comparisons of Effect Sizes from Overall Integration Analyses
digit.curves

Calculate semilandmarks along a curve
estimate.missing

Estimate locations of missing landmarks
editTemplate

Edit 3D template
digitsurface

Digitize 3D fixed landmarks and surface semilandmarks
digitize2d

Digitize 2D landmarks on .jpg files
define.modules

Define modules (landmark partitions)
define.sliders

Select points to "slide" along curves
digit.fixed

Digitize 3D landmarks on mesh3d object
coords.subset

Subset landmark coordinates via a factor
define.links

Define links between landmarks
gridPar

Set up parameters for grids, points, and links in plotRefToTarget
geomorph-package

Geometric morphometric analyses for 2D/3D data
findMeanSpec

Identify specimen closest to the mean of a set of Procrustes shape variables
geomorph.data.frame

Create a data frame with shape data
gpagen

Generalized Procrustes analysis of points, curves, and surfaces
extended.pgls

Extended Phylogenetic ANOVA/regression for Procrustes shape variables
fixed.angle

Rotate a subset of 2D landmarks to common articulation angle
globalIntegration

Quantify global integration relative to self-similarity
gm.measurement.error

This function is a wrapper for the function measurement.error in RRPP
gm.prcomp

Principal and phylogenetically-aligned components analysis of shape data
hummingbirds

Landmark data from hummingbird bills (includes sliding semilandmarks on curves)
morphol.disparity

Morphological disparity for one or more groups of specimens
lizards

Dorsal head shape data of lizards
larvalMorph

Head and tail shapes of larval salamanders
interlmkdist

Calculate linear distances between landmarks
integration.test

Quantify morphological integration between modules
make_ggplot

Convert geomorph plots to ggplot objects
modularity.test

Evaluate the degree of modular signal in shape data
integration.Vrel

Quantify integration in a set of traits
mosquito

Landmarks on mosquito wings
mshape

Estimate mean shape for a set of aligned specimens
plethShapeFood

Head shape and food use data from Plethodon salamanders
plethodon

Landmark data from Plethodon salamander heads
na.omit.geomorph.data.frame

Handle missing values in rrpp.data.frame objects
physignal.z

Assessing phylogenetic signal effect size in Procrustes shape variables
physignal

Assessing phylogenetic signal in Procrustes shape variables
phylo.integration

Quantify phylogenetic morphological integration between two or more sets of variables under Brownian motion
physignal.eigen

Assessing dimensions of phylogenetic signal in Procrustes shape variables
phylo.modularity

Evaluate the degree of phylogenetic modular signal in Procrustes shape variables
picknplot.shape

Pick points in geomorph scatterplots to visualize shape variation
plot.gpagen

Plot Function for geomorph
plot.physignal

Plot Function for geomorph
plot.CR.phylo

Plot Function for geomorph
plot.mshape

Plot Function for geomorph
plot.bilat.symmetry

Plot Function for geomorph
plot.physignal.eigen

Plot Function for geomorph
plot.gm.prcomp

Plot Function for geomorph
plot.evolrate

Plot Function for geomorph
plot.pls

Plot Function for geomorph
print.CR

Print/Summary Function for geomorph
print.CR.phylo

Print/Summary Function for geomorph
plot.physignal.z

Plot Function for geomorph
print.geomorphShapes

Print/Summary function for geomorph
plotAllSpecimens

Plot landmark coordinates for all specimens
print.compare.pls

Print/Summary Function for geomorph
print.gm.prcomp

Print/Summary function for geomorph
print.compare.physignal.z

Print/Summary Function for geomorph
plotRefToTarget

Plot shape differences between a reference and target specimen
plot.procD.lm

Plot Function for geomorph
plethspecies

Head shape and phylogenetic relationships for several Plethodon salamander species
print.evolrate

Print/Summary Function for geomorph
print.evolrate1

Print/Summary Function for geomorph
print.procD.lm

Print/Summary Function for geomorph
plotAllometry

Plotting to assist visualization of shape-size covariation (allometry)
procD.lm

Procrustes ANOVA/regression for Procrustes shape variables
plotspec

Plot 3D specimen, fixed landmarks and surface semilandmarks
print.physignal.z

Print/Summary Function for geomorph
print.compare.ZVrel

Print/Summary function for geomorph
print.compare.CR

Print/Summary Function for geomorph
print.physignal

Print/Summary Function for geomorph
plot.CR

Plot Function for geomorph
print.physignal.eigen

Print/Summary Function for geomorph
print.pls

Print/Summary Function for geomorph
readland.fcsv

Read landmark data matrix from fcsv file
readland.nts

Read landmark data matrix from nts file
readland.shapes

Read landmark data from a shapes object (StereoMorph)
read.morphologika

Read landmark data from Morphologika file(s)
readland.tps

Read landmark data from tps file
plotOutliers

Find potential outliers
read.ply

Read mesh data (vertices and faces) from ply files
procD.pgls

Phylogenetic ANOVA/regression for Procrustes shape variables
print.bilat.symmetry

Print/Summary Function for geomorph
print.gpagen

Print/Summary Function for geomorph
summary.CR.phylo

Print/Summary Function for geomorph
print.combined.set

Print/Summary Function for geomorph
summary.bilat.symmetry

Print/Summary Function for geomorph
summary.combined.set

Print/Summary Function for geomorph
summary.compare.CR

Print/Summary Function for geomorph
print.morphol.disparity

Print/Summary Function for geomorph
scallops

Landmark data from scallop shells
summary.compare.ZVrel

Print/Summary Function for geomorph
summary.compare.physignal.z

Print/Summary Function for geomorph
shape.predictor

Shape prediction from numeric predictors
pupfish

Landmarks on pupfish
summary.morphol.disparity

Print/Summary Function for geomorph
summary.physignal

Print/Summary Function for geomorph
warpRefOutline

Creates a 2D outline warped to the mean shape
pupfish.ws

Landmarks on pupfish
warpRefMesh

Creates a mesh3d object warped to the mean shape
readmulti.nts

Read and combine multiple nts files
summary.compare.pls

Print/Summary Function for geomorph
summary.pls

Print/Summary Function for geomorph
summary.procD.lm

Print/Summary Function for geomorph
ratland

Landmark data from dataset rat
readmulti.tps

Read and combine multiple tps files
shapeHulls

Update Plots with Convex Hulls for Groups
summary.evolrate

Print/Summary Function for geomorph
two.d.array

Convert (p x k x n) data array into 2D data matrix
rotate.coords

Rotate or flip landmark or coordinate configurations
two.b.pls

Two-block partial least squares analysis for Procrustes shape variables
summary.CR

Print/Summary Function for geomorph
summary.geomorphShapes

Print/Summary Function for geomorph
summary.evolrate1

Print/Summary Function for geomorph
writeland.tps

Write landmark data to tps file
scallopPLY

3D scan of a scallop shell from a .ply file in mesh3d format
summary.gm.prcomp

Print/Summary Function for geomorph
summary.gpagen

Print/Summary Function for geomorph
summary.physignal.eigen

Print/Summary Function for geomorph
summary.physignal.z

Print/Summary Function for geomorph
compare.multi.evol.rates

Comparing net rates of evolution among traits on phylogenies
arrayspecs

Convert landmark data matrix into array (p x k x n)
bilat.symmetry

Analysis of bilateral symmetry
compare.pls

Comparisons of Effect Sizes from Partial Least Squares
buildtemplate

Build 3D surface template
compare.CR

Comparisons of Effect Sizes from Modularity Analyses
compare.evol.rates

Comparing net rates of shape evolution on phylogenies
compare.physignal.z

Comparisons of Phylogenetic Signal Effect Sizes