Skip to content

timcdlucas/EMMLi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EMMLi: A Maximum Likelihood Approach To The Analysis Of Modularity

Build Status codecov.io cran version

An R package for performing analyses of modularity on morphological landmark data.

The only function is EMMLi which takes a correlation matrix and a data frame that describes a number of modular models.

A. Goswami and J. Finarelli (2016) EMMLi: A maximum likelihood approach to the analysis of modularity. Evolution http://onlinelibrary.wiley.com/doi/10.1111/evo.12956/abstract

Installation

To install the CRAN version

install.packages('EMMLi')

or to install the development version from GitHub

library(devtools)
install_github('timcdlucas/EMMLi')

Basic usage

The package contains one function, EMMLi. This function takes a correlation matrix, a data frame defining a set of models (which landmarks are part of which module) and the sample size (number of specimens).

# An example correlation matrix
dim(macacaCorrel)

# An example data frame that defines the models
head(macacaModels)

# Run EMMLi
output <- EMMLi(macacaCorrel, 20, macacaModels)

About

A Maximum Likelihood Approach To The Analysis Of Modularity

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages