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