read.vcf2list {synbreed} | R Documentation |
Function for easily read genomic data in vcf-Format to a list, which contains the map information and the marker information.
read.vcf2list( file, FORMAT = "GT", coding = c("allele", "ref"), IDinRow = TRUE, cores = 1 )
file |
|
FORMAT |
|
coding |
This option has only an effect with |
IDinRow |
|
cores |
|
A list with a matrix (matrix
) containing a
representation of the genotypic data in the file and a map of classes GenMap
and data.frame.
Hans-Juergen Auinger
## Not run: library(synbreedData) data(maize) maize$info$map.unit <- "kb" maize <- codeGeno(maize) write.vcf(maize, "maize.vcf") genInfo <- read.vcf2list("maize.vcf") ## End(Not run)