vcfR2hapmap | R Documentation |
Converts a vcfR object to hapmap
vcfR2hapmap(vcf)
vcf |
a vcfR object. |
Converts a vcfR object to a hapmap format.
a data.frame that can be used as an input for GAPIT.
Brian J. Knaus
data(vcfR_test) myHapMap <- vcfR2hapmap(vcfR_test) class(myHapMap) ## Not run: # Example of how to create a (GAPIT compliant) HapMap file. write.table(myHapMap, file = "myHapMap.hmp.txt", sep = "\t", row.names = FALSE, col.names = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.