GithubHelp home page GithubHelp logo

dwinter / dfe Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 107 KB

Fitting, simulating and generally exploring the distribution of fitness effects from MA studies

R 53.66% C++ 46.34%

dfe's Introduction

Travis-CI Build Status

#Distributions of fitness effects

This is a work-in-progress package, aiming to provide functions for users to fit existing and new models of the distribution of fitness effects from data arising from mutation accumulation experiments

As of Jan 2015, everything here is bleedingly alpha and will almost certainly change in the future.

##Package design

###Simulating MA experiments

Functions starting rma_*() simulate the fitness effects arising from a mutation accumulation study, in which the fitness-effects are distributed according to a * distribution. Current options are:

rma_normal()
rma_gamma()
rma_FGM()

rma_FGM() simulates mutations under a paramaterization of Fisher's Geometric Model (by default fitness is determined by the squared distance form the origin, user-defined fitness functions are allowed).

###Likelihood for observed data

Functions starting dma_*() calculate likelihood (densities) under the normal or gamma distributed models:

dma_gamma()
dma_normal()

There are also ML fitting functions, fit_ma*(), which are... a work in progress

###Miscellaneous functions

BM() calculates Bateman-Mukai (method of moments) estimators, moments_gamma() calculates the mean and variance of a given Gamma distribution, moments_FGM() estimates the mean, variance, skewness and proportion of beneficial mutations via simulation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.