Learn R Programming

⚠️There's a newer version (3.1) of this package.Take me there.

PopGenReport (version 2.2.2)

A Simple Framework to Analyse Population Genetic Data

Description

Provides beginner friendly framework to analyse population genetic data. It uses 'knitr' to create comprehensive reports on spatial genetic data. For detailed information how to use the package refer to the comprehensive tutorials or visit www.popgenreport.org.

Copy Link

Version

Install

install.packages('PopGenReport')

Monthly Downloads

1,173

Version

2.2.2

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Bernd Gruber

Last Published

May 11th, 2016

Functions in PopGenReport (2.2.2)

allel.rich

Calculates the allelic richness for a genind object
pairwise.fstb

Calculates pairwise fsts using a genind object (very fast)
lgrMMRR

Multiple Matrix Regression with Randomization analysis
opt.landgen

Function for optimising a landscape genetic analysis based on resistance layers
bilby

Bilby data set
landgen

A simulated genind data set with spatial coordinates
addpoly

Function to add a polygon to a landscape
emigration

Function to execute emigration on a pops object
gd.kosman

Individual genetic distance calculation based on Kosman & Leonhard 2005
pops2genind

Function converts pops to a genind object
wassermann

Partial Mantel tests on costdistance matrices
p2p

Function to calculate dispersal distances based on cost distances
PopGen-package

Analysing population genetic data within a simple framework
run.popgensim

Run forward step generations a popgen simulation
genleastcost

Least-cost path analysis based on a friction matrix
addline

Function to add lines to landscape
read.genetable

Function to convert textfiles into a genind object (the format required for popgenreport)
allele.dist

Counts and visualises allele frequencies across loci and subpopulations
spautocor

Spatial autocorrelation following Smouse and Pekall 1999
init.popgensim

Initialise a pops object fo a a popgen simulation
costdistances

Calculates cost distances for a given landscape (resistance matrix)
mutation

Function to execute mutation on a pop data.frame
fric.raster

a simulated friction map
null.all

Checks for the presence of and determine the frequency of null alleles
gd.smouse

Individual genetic distance calculation based on Smouse and Peakall 1999
reproduction

Function to execute reproduction on a pop data.frame
landgenreport

Create a landscape genetic report
popgenreport

This is the main function of the package. It analyses an object of class genind and then creates a report containing the results of the analysis. There are several routines that can be optionally included in the analysis and there are multip output options including a PDF with the report, R-code and an object (fname.results) containing all of the results, which can be used for further analyses.