{"id":18538332,"url":"https://github.com/pblischak/polyfreqs","last_synced_at":"2026-04-12T22:06:44.754Z","repository":{"id":56937576,"uuid":"34615921","full_name":"pblischak/polyfreqs","owner":"pblischak","description":"polyfreqs: an R package for Bayesian population genomics in autopolyploids","archived":false,"fork":false,"pushed_at":"2016-12-16T22:05:49.000Z","size":1200,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T02:11:57.518Z","etag":null,"topics":["bayesian-population-genomics","c-plus-plus","cran","genotype","r","rcpp"],"latest_commit_sha":null,"homepage":"http://pblischak.github.io/polyfreqs/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pblischak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-26T14:50:31.000Z","updated_at":"2019-11-20T00:29:20.000Z","dependencies_parsed_at":"2022-08-21T06:50:06.204Z","dependency_job_id":null,"html_url":"https://github.com/pblischak/polyfreqs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pblischak%2Fpolyfreqs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pblischak%2Fpolyfreqs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pblischak%2Fpolyfreqs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pblischak%2Fpolyfreqs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pblischak","download_url":"https://codeload.github.com/pblischak/polyfreqs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259439,"owners_count":22040821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bayesian-population-genomics","c-plus-plus","cran","genotype","r","rcpp"],"created_at":"2024-11-06T19:43:06.598Z","updated_at":"2025-10-30T02:49:08.022Z","avatar_url":"https://github.com/pblischak.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/pblischak/polyfreqs.svg?branch=master)](https://travis-ci.org/pblischak/polyfreqs)\n[![](http://www.r-pkg.org/badges/version/polyfreqs)](https://CRAN.R-project.org/package=polyfreqs)\n[![CRAN downloads](http://cranlogs.r-pkg.org/badges/polyfreqs)](https://CRAN.R-project.org/package=polyfreqs/vignettes/polyfreqs_Intro.html)\n\n# **polyfreqs**\n\n## An R package for Bayesian population genomics in autopolyploids\n\n**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 does not accomodate data sets of mixed ploidy.\n\n### **polyfreqs** does accept missing data: code them as `0` in the total read count matrix.\n\n\u003e **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](https://groups.google.com/forum/#!forum/polyfreqs-users)]\n\n### Dependencies\n\n**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).\nWindows users will need to install \u003ca href=\"https://CRAN.R-project.org/bin/windows/Rtools/\" target=\"_blank\"\u003eRtools\u003c/a\u003e.\nMacOSX users will need to install the Xcode Command Line Tools.\nLinux 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 \u003ca href=\"https://CRAN.R-project.org/package=Rcpp\" target=\"_blank\"\u003e\u003cstrong\u003eRcpp\u003c/strong\u003e\u003c/a\u003e 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:\n\n```r\ninstall.packages(\"Rcpp\")\n```\n\n### Installation\n\n**polyfreqs** v1.0.0 is now on CRAN: \u003ca href=\"https://CRAN.R-project.org/package=polyfreqs\" target=\"_blank\"\u003elink\u003c/a\u003e.\n\nYou can now install it like you would any other R package:\n\n```r\ninstall.packages(\"polyfreqs\")\n```\n\nInstalling the latest developmental release of **polyfreqs** can be done using the \u003ca href=\"https://CRAN.R-project.org/package=devtools\" target=\"_blank\"\u003e\u003cstrong\u003edevtools\u003c/strong\u003e\u003c/a\u003e package and the `install_github()` command.\nInstall **devtools** using `install.packages(\"devtools\")`. **polyfreqs** can then be installed as follows:\n\n```r\ndevtools::install_github(\"pblischak/polyfreqs\")\n```\n\n### Documentation\n\nExample code and tutorials for running **polyfreqs** can be found in the \u003ca href=\"https://CRAN.R-project.org/package=polyfreqs/vignettes/polyfreqs_Intro.html\" target=\"_blank\"\u003evignette\u003c/a\u003e.\nFor more details on the model underlying **polyfreqs** please see the associated paper in *Molecular Ecology Resources*: \u003ca href=\"http://onlinelibrary.wiley.com/doi/10.1111/1755-0998.12493/abstract\" target=\"_blank\"\u003eBlischak \u003cem\u003eet al\u003c/em\u003e.\u003c/a\u003e The Supplemental Material also has a walk through for analyzing a data set collected for autotetraploid potato (*Solanum tuberosum*).\n\n--------\n\n**Release notes**\n\n - **v1.0.2** -- Small patch that updated code for sampling genotypes during the MCMC that was giving underflow errors when total read counts are high (~1000x coverage).\n\n - **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.\n\n - **v1.0.0** -- First release. Now available on CRAN.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpblischak%2Fpolyfreqs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpblischak%2Fpolyfreqs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpblischak%2Fpolyfreqs/lists"}