Giter Site home page Giter Site logo

alenzhao / polyfreqs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pblischak/polyfreqs

0.0 1.0 0.0 1.17 MB

polyfreqs: an R package for Bayesian population genomics in autopolyploids

Home Page: http://pblischak.github.io/polyfreqs/

R 72.06% C++ 27.94%

polyfreqs's Introduction

Build Status CRAN downloads

polyfreqs

An R package for Bayesian population genomics in autopolyploids

polyfreqs is an R package for the estimation of biallelic SNP frequencies, genotypes and heterozygosity in autopolyploid taxa using high throughput sequencing data. It should work for diploids as well but I have not tested this.

NEW: polyfreqs now has a Google Groups page. Please feel free to join the group and post any questions that you may have about the software. [Google Groups link]

Dependencies

polyfreqs uses C++ code to implement its Gibbs sampling algorithm which will usually require the installation of additional software (depending on the operating system [OS] being used). Windows users will need to install Rtools. MacOSX users will need to install the Xcode Command Line Tools. Linux users will need an up-to-date version of the GNU Compiler Collection (gcc) and the r-base-dev package. polyfreqs relies on the R package Rcpp which is a good place to start too for figuring what you will need. Note that Rcpp also requires the compilation of C++ code so make sure that the necessary compilers are installed appropriately for your OS. You can install Rcpp directly from CRAN in the usual way using the install.packages() command:

install.packages("Rcpp")

Installation

polyfreqs v1.0.0 is now on CRAN: link.

You can now install it like you would any other R package:

install.packages("polyfreqs")

Installing the latest developmental release of polyfreqs can be done using the devtools package and the install_github() command. Install devtools using install.packages("devtools"). polyfreqs can then be installed as follows:

devtools::install_github("pblischak/polyfreqs")

Documentation

Example code and tutorials for running polyfreqs can be found in the vignette. For more details on the model underlying polyfreqs please see the associated paper in Molecular Ecology Resources: Blischak et al. The Supplemental Material also has a walk through for analyzing a data set collected for autotetraploid potato (Solanum tuberosum).


Release notes

  • v1.0.1 -- Removed dependency on the RcppArmadillo sample() function by coding our own version (nonunif_int() in the sample_g.cpp source file). The Gibbs sampler should run a bit faster now.

  • v1.0.0 -- First release. Now available on CRAN.

polyfreqs's People

Contributors

pblischak avatar

Watchers

 avatar

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.