Reads a .tped format genotype matrix and returns the R
object needed by
read.tped.recode(tped.filename, buffer.size = 5e+08)
Path to your .tped file after tranposing and recoding.
Number of characters to keep in the buffer
Use –transpose and –recode12 on your plink formatted genotypes
to generate the proper tped file. This is a pretty terrible function
that uses a growing matrix for the genotypes so it is to your
benefit to have as large a
buffer.size as possible.
genotype matrix with elements 0, 1, 2, and NA.
1 2 3
#assuming you have a .tped file in the right directory x = NULL ## Not run: x = read.tped.recode("file.tped")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.