Description Usage Arguments Value Author(s) See Also Examples
Function for easily read genomic data in vcf-Format to a list, which contains the map information and the marker information.
1 | 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
1 2 3 4 5 6 7 8 9 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.