A bundle of functions we use in our daily routine here at the Ecology group (Department of biology, Biotechnical faculty, University of Ljubljana).
The package currently contains the following functions:
readClumppRead result of Clumpp into adata.frame.writeStructureWrite agenindobject to be analyzed using Structure.writeGenePopWrite twogenindobjects to be analyzed using GENEPOP.writeGenPopWrite agenindobject to be analyzed using GENEPOP usingstrat/popfunctionality. It can also write a list of genind objects as populations.subsetGenDataHandle dropping levels inotherslot.writeINESTWill write INEST file from agenindobject.drawLociWill draw alleles from a list of loci.findIntegerIntervalFind a repeating sequence of integers.findSeasonFor a datum, find a season based on equinox/solstice.plotCircleOnMapWill plot circles on a map based for a given variable and its SE.MratioCalculate Garza-Williamson M-ratio.genindSlidingWindowwill take agenindobject and create a list of smallergenindobjects, subsetted on dates based on a sliding window.writeCoancestryWill write a file accepted by Coancestry software.goSlideA function in support ofgenindSlidingWindowto visualize years of cohorts (sliding windows).readColonyExtract results from a Colony project. Useful for comparing matched genotypes from LC or LR runs.makeNGSfilterBased on a PCR plate template with tag-primer combination, name wells according to a layout file and account for the desired number of replicates.
To install the package using
library(devtools)
install_github("romunov/zvau")you will need
- R
- Rtools (see http://cran.r-project.org/bin/windows/Rtools/) to build the package
- LaTeX (MiKTeX on Windows) to build documentation.
To install from a binary package, you can download the .zip file (may not be up to date!) by clicking Raw and saving it to a (known) location.
After you have a local copy, you can install the package from within R using
install.packages("zvau_*.zip", repos = NULL) # change filename according to the version