snmf
geno
format.
The geno
format can be used as an input format
for genotypic matrices in the functions snmf
,
lfmm
, and pca
.
geno
format has one row for each SNP.
Each row contains 1 character for each individual:
0 means zero copy of the reference allele.
1 means one copy of the reference allele.
2 means two copies of the reference allele.
9 means missing data.Here is an example of a genotypic matrix using the geno
format with 3
individuals and 4 loci:
112 010 091 121
geno2lfmm
lfmm2geno
ancestrymap2geno
ped2geno
vcf2geno
read.geno
write.geno