Description Details Author(s) See Also
Description of the lfmm
format.
The lfmm
format can be used as an input format
for genotypic matrices in the functions snmf
,
lfmm
, lfmm2
, and pca
.
The lfmm
format has one row for each individual. Each row contains one
value at each loci (separated by spaces or tabulations) corresponding to the
number of alleles. The number of alleles corresponds to the number of reference
alleles or the number of derived alleles. Missing genotypes are encoded by the value -9 or the value 9.
For the use of functions lfmm
and lfmm2
missing genotypes must be removed or imputed with the function impute
.
Here is an example of a genotypic matrix using the lfmm
format with 3 individuals and 4 loci:
1 2 3 | 1 0 0 1
1 1 9 2
2 0 1 1
|
Eric Frichot
lfmm
lfmm2
geno2lfmm
lfmm2geno
ancestrymap2lfmm
ped2lfmm
read.lfmm
write.lfmm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.