Learn R Programming

⚠️There's a newer version (4.0.10) of this package.Take me there.

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.

To install the Development version (beta) of geomorph R-package from Github using devtools:

Within R:

install.packages("devtools")

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

NOTE FOR THE PRE-RELEASE (BETA) VERSION: We strongly discourage you from publishing results with this version, unless you check with the authors first.

Copy Link

Version

Install

install.packages('geomorph')

Monthly Downloads

1,803

Version

4.0.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Dean Adams

Last Published

February 17th, 2022

Functions in geomorph (4.0.2)

coords.subset

Subset landmark coordinates via a factor
define.links

Define links between landmarks
buildtemplate

Build 3D surface template
arrayspecs

Convert landmark data matrix into array (p x k x n)
compare.CR

Comparisons of Effect Sizes from Modularity Analyses
bilat.symmetry

Analysis of bilateral symmetry
compare.multi.evol.rates

Comparing net rates of evolution among traits on phylogenies
combine.subsets

Combine separate landmark configurations
compare.evol.rates

Comparing net rates of shape evolution on phylogenies
compare.pls

Comparisons of Effect Sizes from Partial Least Squares
digit.curves

Calculate semilandmarks along a curve
digitize2d

Digitize 2D landmarks on .jpg files
fixed.angle

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

Identify specimen closest to the mean of a set of Procrustes shape variables
interlmkdist

Calculate linear distances between landmarks
larvalMorph

Head and tail shapes of larval salamanders
geomorph-package

Geometric morphometric analyses for 2D/3D data
editTemplate

Edit 3D template
geomorph.data.frame

Create a data frame with shape data
estimate.missing

Estimate locations of missing landmarks
define.modules

Define modules (landmark partitions)
hummingbirds

Landmark data from hummingbird bills (includes sliding semilandmarks on curves)
digitsurface

Digitize 3D fixed landmarks and surface semilandmarks
digit.fixed

Digitize 3D landmarks on mesh3d object
define.sliders

Select points to "slide" along curves
na.omit.geomorph.data.frame

Handle missing values in rrpp.data.frame objects
gpagen

Generalized Procrustes analysis of points, curves, and surfaces
integration.test

Quantify morphological integration between modules
gridPar

Set up parameters for grids, points, and links in plotRefToTarget
phylo.modularity

Evaluate the degree of phylogenetic modular signal in Procrustes shape variables
plethodon

Landmark data from Plethodon salamander heads
morphol.disparity

Morphological disparity for one or more groups of specimens
physignal

Assessing phylogenetic signal in Procrustes shape variables
modularity.test

Evaluate the degree of modular signal in shape data
plethspecies

Head shape and phylogenetic relationships for several Plethodon salamander species
lizards

Dorsal head shape data of lizards
globalIntegration

Quantify global integration relative to self-similarity
plot.CR

Plot Function for geomorph
make_ggplot

Convert geomorph plots to ggplot objects
gm.prcomp

Principal and phylogenetically-aligned components analysis of shape data
print.evolrate1

Print/Summary Function for geomorph
print.geomorphShapes

Print/Summary function for geomorph
plot.gpagen

Plot Function for geomorph
plot.gm.prcomp

Plot Function for geomorph
plotOutliers

Find potential outliers
picknplot.shape

Pick points in geomorph scatterplots to visualize shape variation
phylo.integration

Quantify phylogenetic morphological integration between two or more sets of variables under Brownian motion
plot.evolrate

Plot Function for geomorph
plot.bilat.symmetry

Plot Function for geomorph
plotAllometry

Plotting to assist visualization of shape-size covariation (allometry)
plotAllSpecimens

Plot landmark coordinates for all specimens
print.compare.CR

Print/Summary Function for geomorph
plot.CR.phylo

Plot Function for geomorph
plot.mshape

Plot Function for geomorph
plethShapeFood

Head shape and food use data from Plethodon salamanders
print.combined.set

Print/Summary Function for geomorph
print.pls

Print/Summary Function for geomorph
plotspec

Plot 3D specimen, fixed landmarks and surface semilandmarks
read.ply

Read mesh data (vertices and faces) from ply files
read.morphologika

Read landmark data from Morphologika file(s)
print.CR

Print/Summary Function for geomorph
plot.physignal

Plot Function for geomorph
mshape

Estimate mean shape for a set of aligned specimens
readland.fcsv

Read landmark data matrix from fcsv file
mosquito

Landmarks on mosquito wings
pupfish

Landmarks on pupfish
ratland

Landmark data from dataset rat
plot.pls

Plot Function for geomorph
print.gm.prcomp

Print/Summary function for geomorph
plotRefToTarget

Plot shape differences between a reference and target specimen
print.evolrate

Print/Summary Function for geomorph
print.compare.pls

Print/Summary Function for geomorph
plot.procD.lm

Plot Function for geomorph
shape.predictor

Shape prediction from numeric predictors
print.bilat.symmetry

Print/Summary Function for geomorph
print.CR.phylo

Print/Summary Function for geomorph
scallops

Landmark data from scallop shells
print.morphol.disparity

Print/Summary Function for geomorph
summary.CR.phylo

Print/Summary Function for geomorph
readland.nts

Read landmark data matrix from nts file
print.procD.lm

Print/Summary Function for geomorph
readmulti.nts

Read and combine multiple nts files
readmulti.tps

Read and combine multiple tps files
summary.morphol.disparity

Print/Summary Function for geomorph
summary.physignal

Print/Summary Function for geomorph
readland.shapes

Read landmark data from a shapes object (StereoMorph)
readland.tps

Read landmark data from tps file
shapeHulls

Update Plots with Convex Hulls for Groups
summary.CR

Print/Summary Function for geomorph
warpRefMesh

Creates a mesh3d object warped to the mean shape
summary.bilat.symmetry

Print/Summary Function for geomorph
warpRefOutline

Creates a 2D outline warped to the mean shape
rotate.coords

Rotate or flip landmark or coordinate configurations
print.physignal

Print/Summary Function for geomorph
scallopPLY

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

Print/Summary Function for geomorph
summary.pls

Print/Summary Function for geomorph
summary.procD.lm

Print/Summary Function for geomorph
summary.gm.prcomp

Print/Summary Function for geomorph
summary.combined.set

Print/Summary Function for geomorph
summary.compare.CR

Print/Summary Function for geomorph
writeland.tps

Write landmark data to tps file
print.gpagen

Print/Summary Function for geomorph
summary.gpagen

Print/Summary Function for geomorph
procD.pgls

Phylogenetic ANOVA/regression for Procrustes shape variables
procD.lm

Procrustes ANOVA/regression for Procrustes shape variables
summary.geomorphShapes

Print/Summary Function for geomorph
two.b.pls

Two-block partial least squares analysis for Procrustes shape variables
two.d.array

Convert (p x k x n) data array into 2D data matrix
summary.compare.pls

Print/Summary Function for geomorph
summary.evolrate

Print/Summary Function for geomorph