Description Usage Arguments Value Examples
View source: R/gwscaR_utility.R
Convert a vcf df to a coancestry input file
1 | vcf2coanAF(vcf, out.name = "coancestry_afs.txt")
|
vcf |
A data.frame in vcf format |
out.name |
A name for a an output file (default is coancestry_afs.txt) |
co.afs A dataframe with all of the allele frequencies
1 2 3 | vcf.file<-system.file("extdata", "example.vcf.txt",package = "gwscaR")
vcf<-parse.vcf(vcf.file)
co.afs<-vcf2coanAF(vcf,"coancestry_afs.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.