/fitness

Software library providing fitness landscape functionality in R.

Primary LanguageROtherNOASSERTION

fitness

Travis-CI Build Status AppVeyor Build Status Coverage Status

License: GPL v3 CRAN version CRAN Downloads

Overview

The fitness package permits working with fitness landscapes in R.

Installation

The development version of fitness can be installed using the devtools package.

# install from GitHub
devtools::install_github("rrrlw/fitness")

Sample code

Functionality

The following models of fitness landscapes are implemented:

  1. NK model
  2. Rough Mt. Fuji model

In addition, the following functionality for generic fitness landscapes is implemented:

  • Item 1
  • Item 2

Contribute

To contribute to fitness, you can create issues for any bugs/suggestions on the issues page. You can also fork the fitness repository and create pull requests to add features you think will be useful for users.

Plan

read_* functions to read in each type of model (or general fitness landscape?) write_* functions to write each type of model (or general fitness landscape?) method to find optimal peak, to find all peaks (same for valleys?) functions to generate NK landscapes, RMF landscapes utility functions: calculate lattice distance, list all neighbors (values or coordinates?) for given spot