Learn R Programming

LEA (version 1.4.0)

LEA: an R package for Landscape and Ecological Association Studies

Description

LEA is an R package dedicated to landscape genomics and ecological association tests. LEA can run analyses of population structure and genome scans for local adaptation. It includes statistical methods for estimating ancestry coefficients from large genotypic matrices and evaluating the number of ancestral populations (snmf, pca); and identifying genetic polymorphisms that exhibit high correlation with some environmental gradient or with the variables used as proxies for ecological pressures (lfmm), and controlling the false discovery rate. LEA is mainly based on optimized C programs that can scale with the dimension of very large data sets.

Copy Link

Version

Version

1.4.0

License

GPL-3

Maintainer

Last Published

February 15th, 2017

Functions in LEA (1.4.0)

G

Ancestral allele frequencies from a snmf run
geno

Q

Admixture coefficients from a snmf run
ped2lfmm

tracy.widom

Tracy-Widom test for eigenvalues
mlog10p.values

-log10(p-values) from a lfmm run
write.env

p.values

p-values from a lfmm run
write.geno

read.env

write.lfmm

zscore.format

cross.entropy

Cross-entropy criterion from snmf runs
env

lfmm2geno

read.geno

create.dataset

create a data set with masked data
read.lfmm

ancestrymap2geno

ancestrymap2lfmm

lfmm

Fitting Latent Factor Mixed Models
cross.entropy.estimation

compute the cross-entropy criterion
tutorial

Example tutorial data sets
vcf2geno

vcf

vcf format description
adjusted.pvalues

adjusted p-values from a lfmm run
ancestrymap

ancestrymap format description
pca

Principal Component Analysis
vcf2lfmm

read.zscore

snmf

Estimates individual ancestry coefficients and ancestral allele frequencies.
LEA-package

LEA: an R package for Landscape and Ecological Associations studies.
z.scores

z-scores from a lfmm run
geno2lfmm

lfmm.data

ped

ped format description
ped2geno