Man pages for spflanagan/gwscaR
Genome-wide Selection Components Analysis in R

calc.afs.vcfCalculate allele frequencies from a vcf file
calc.fst.neiCalculate Fst using Nei's formulation (1-(Hw/2Hb))
calc.fst.wrightCalculate Fst using Wright (1943)'s formulation ((ht-hs)/ht)
calc.hetcalculate observed heterozygosity
calc.mean.fstCalculate mean pairwise Fsts
calc.pisliding window pi and rho - across all snps
calc.rhoCalculate rho (private alleles)
changeorder.dfA function to reorder a data.frame
choose.one.snpChoose one SNP per RAD locus from a vcf
combine.vcfsA function to merge two vcf data frames
extract.gt.vcfA function to pull out only the genotype fields from...
fst.ibd.bylocCalculate isolation by distance per locus
fst.one.plinkCalculate pairwise fsts from a dataset in ped format
fst.one.vcfCalculate fsts from a single vcf
fst.plotPlot genome-wide statistics from a data frame.
fst.plot.rectPlot genome-wide statistics from a data frame with...
fst.pst.bylocCompare Pst and Fst locus by locus from a ped file
fst.sigFind significant loci using chi-square test
fst.two.vcfCalculate pairwise fst between two separate vcf files
get.njGenerate a distance matrix for a SNP using fsts
gwscaConduct selection components analysis
gwsca.vioplotCreate violin plots with
infer.mat.allelesA function to infer maternal alleles from a vcf file
outer.legendAdd a legend to the margins of a multiplot figure
pairwise.fstCalculate pairwise Fst values
pairwise.pstCalculate pairwise Pst between population pairs
parse.vcfRead in a vcf file
pcadapt_subsetSubset a ped file and run pcadapt on it
plotting.structureThis plots the output of structure
popgen.simSimulate genetic data for populations with different allele...
pst.mantelCalulate pairwise Psts and test for IBD
semCalculate the standard error of the mean
sliding.avgCalculate a sliding average
sliding.windowCalculate a sliding window
std.by.meanStandardize a variable by its mean
treemix.cov.plotPlot covariance matrix from treemix
treemix.from.vcfGenerate a treemix file from vcf
vcf2coanAFConvert a vcf df to a coancestry input file
vcf2coanGTConvert a vcf df to a coancestry input file
vcf2dadiSNPsConvert a vcf file to a SNPs input file for dadi
vcf2gpopConvert a vcf df to a genepop file
vcf.allelesExtract alleles from a vcf row
vcf.cov.indCalculate per-individual coverage from a vcf file
vcf.cov.locCalculate per-locus coverage from a vcf file
spflanagan/gwscaR documentation built on Nov. 14, 2019, 9:16 p.m.