Published May 4, 2026 | Version v1.2.0
Software Open

fossilsim/morphsim: MorphSim 1.2.0 - Initial Release

  • 1. Queen Mary University of London
  • 2. Senckenberg
  • 3. FAU

Description

MorphSim v1.2.0

First release accompanying the publication:

Mulvey et al. (2026) "MorphSim: An R package for simulating discrete morphological data"

MorphSim is an R package for simulating discrete morphological character data for total-evidence and tip-dated phylogenetic analyses.

Key Features

Evolutionary models

  • Mk model and extensions (MkV, ordered variants)
  • Among-character rate variation (ACRV) via gamma or lognormal distributions
  • User-defined custom rate matrices
  • Multi-partition schemes with different states per partition

Fossil & ancestor support

  • Simulates character data for sampled ancestors (direct ancestral fossils)
  • Integrates with FossilSim, TreeSim, and SimClock for a complete end-to-end pipeline compatible with RevBayes and BEAST2

Realistic missing data

  • Structured missing data by anatomical partition with taphonomic decay probabilities
  • Missing data by rate category, taxon age, or random removal

Visualisation & summary statistics

  • Plot trait evolution history across the full and reconstructed tree
  • Consistency and retention indices
  • Convergent evolution tracking across all characters

Export

  • write.morpho() exports trees, matrices, and fossil ages in formats compatible with RevBayes and BEAST2

MorphSimShiny

An interactive Shiny app for exploring model assumptions and simulating datasets without requiring R expertise. https://github.com/fossilsim/morphsimshiny

Installation

install.packages("MorphSim")

or from GitHub:

devtools::install_github("fossilsim/morphsim")

Files

fossilsim/morphsim-v1.2.0.zip

Files (84.7 kB)

Name Size Download all
md5:f7fa6831829c7c42e04e6f778001a5af
84.7 kB Preview Download

Additional details

Related works