Description Usage Arguments Value Author(s) See Also
Write the genotype file for GS3.
1 | writeGenosForGs3(x, file, inds)
|
x |
matrix with SNP genotypes encoded as allele dose (i.e. 0/1/2 or NA/5), with individuals in rows and SNPs in columns. Row names are compulsory. Missing data coded as "NA" will be replaced by "5". Missing data already coded as "5" won't be modified. |
file |
path to the text file to which x will be written |
inds |
named vector with values from 1 to I and names the corresponding individual identifiers; this very same vector should also be used with |
nothing
Timothee Flutre
writeDataForGs3
, writeConfigForGs3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.