MyNixOS website logo
Description

Comparative 'Phylogenetic' Analyses of Diversification.

Contains a number of comparative 'phylogenetic' methods, mostly focusing on analysing diversification and character evolution. Contains implementations of 'BiSSE' (Binary State 'Speciation' and Extinction) and its unresolved tree extensions, 'MuSSE' (Multiple State 'Speciation' and Extinction), 'QuaSSE', 'GeoSSE', and 'BiSSE-ness' Other included methods include Markov models of discrete and continuous trait evolution and constant rate 'speciation' and extinction.

diversitree: comparative phylogenetic analyses of diversification

R-CMD-check

This repository contains "diversitree". It is my experimental sources though, and may not compile or work for you. You may prefer the released version from CRAN:

> install.packages("diversitree")

The interesting directories are:

  • inst/tests: testing functions that exercise most of the package's main features. Running ./run_tests.R will run the tests. These take too long to run on CRAN (over a minute), so are not set up in the usual way.
  • doc: Vignettes, and their required data files.

Installing diversitree

Clone the repository with

git clone git://github.com/richfitz/diversitree.git

The package should then be installable the usual way. You'll need a C, C++ and Fortran compiler.

To install and specify the location of the fftw library in a non-standard place, a line like this is required: R CMD INSTALL diversitree --configure-args='--with-fftw=/path/to/fftw' where the path will be the path so that the files /path/to/fftw/include/fftw3.h /path/to/fftw/lib/lib/fftw3.so exist.

On Windows, set the environment variable LIB_FFTW to point to the directory that contains include/fftw.h, and install the package.

If fftw is not found, installation will continue, but the (relatively) fast C based QuaSSE integration will not be available. The R based fft integrator and the method-of-lines integrator will be available.

Unresolved clades

As of version 0.10.0, diversitree can no longer work with unresolved clades (FitzJohn, Maddison and Otto 2009's method), due to the package being long in retirement from development and difficulties adapting the Fortran code to meet CRAN's requirements. Users can install an older package from github (e.g., with remotes::install_github("mrc-ide/diversitree@e587755") to install the last released version that contained this code). This will require a working Fortran compiler. Alternatively, a suitably motivated person could restore the code (reverting changes contained in aaaa) and patch the code to work with the current version of flang as used by CRAN.

Branches

The "master" branch contains the bleeding edge version of diversitree. It may or may not work for you. The "release" branch contains stable releases.

Metadata

Version

0.10-0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows