writeGenosForGs3: Write genotypes

Description Usage Arguments Value Author(s) See Also

Description

Write the genotype file for GS3.

Usage

1

Arguments

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 writeDataForGs3

Value

nothing

Author(s)

Timothee Flutre

See Also

writeDataForGs3, writeConfigForGs3


INRA/rgs3 documentation built on May 20, 2019, 5:24 p.m.