https://github.com/rrrlw/fitness
Software library providing fitness landscape functionality in R.
https://github.com/rrrlw/fitness
fitness-landscape r r-package
Last synced: 3 months ago
JSON representation
Software library providing fitness landscape functionality in R.
- Host: GitHub
- URL: https://github.com/rrrlw/fitness
- Owner: rrrlw
- License: other
- Created: 2019-01-06T15:17:54.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2021-01-22T20:23:35.000Z (over 4 years ago)
- Last Synced: 2025-01-11T22:38:49.156Z (4 months ago)
- Topics: fitness-landscape, r, r-package
- Language: R
- Homepage:
- Size: 75.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fitness
[](https://travis-ci.org/rrrlw/fitness)
[](https://ci.appveyor.com/project/rrrlw/fitness)
[](https://codecov.io/github/rrrlw/fitness?branch=master)[](https://www.gnu.org/licenses/gpl-3.0)
[](https://CRAN.R-project.org/package=fitness)
[](https://CRAN.R-project.org/package=fitness)## Overview
The fitness package permits working with fitness landscapes in R.
## Installation
The development version of fitness can be installed using the devtools package.
```r
# install from GitHub
devtools::install_github("rrrlw/fitness")
```## Sample code
## Functionality
The following models of fitness landscapes are implemented:
1. NK model
1. Rough Mt. Fuji modelIn 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](https://github.com/rrrlw/fitness/issues). 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