Professional Documents
Culture Documents
Multivariate Statistics in Ecology and Quantitative Genetics
Multivariate Statistics in Ecology and Quantitative Genetics
Quantitative Genetics
Canonical correspondence analysis
Contents
Contents
Let Y have M rows and N columns and let X have M rows and
Q columns. The site scores (l1 , l2 , · · · , lM ) in the Gaussion
response model
(l − u )
i k
Y [i, k] ≈ Ck exp − 2
2tk
are now assumed to be a linear combination of our
environmental variables, that is,
Q
X
li = X [i, p]α[p].
p=1
Canonical correspondence analysis Mathematical background
Let Y have M rows and N columns and let X have M rows and
Q columns. The site scores (l1 , l2 , · · · , lM ) in the Gaussion
response model
(l − u )
i k
Y [i, k] ≈ Ck exp − 2
2tk
are now assumed to be a linear combination of our
environmental variables, that is,
Q
X
li = X [i, p]α[p].
p=1
Contents
Contents
mplants<-read.table("MexicanPlants.txt",h=T,sep="\t")
species<-mplants[,c("ac","as","co","com","cy","eu",
"grcyn","grresto","la","le","ma",
"ru","so","vi","vit")]
env_var<-mplants[,c("MAXVEGHEIGHT","AGE",
"ALTITUDE","BAREDSOIL")]
library(vegan)
mplants_CCA<-cca(species, env_var)
Canonical correspondence analysis Example: Mexican plant data
Scaling = 2
1
3
ALTITUDE
2
13
10
BAREDSOIL
1
21 15
19
11 as
CCA2
6 so
14
ac
ru
cy grcyn
22 ma la 17
0
0
vit
grresto co
eu 4
le 8
AGE vi
com
MAXVEGHEIGHT
12
20
−1
18
3
7
−2
16
−3 −2 −1 0 1 2 3
CCA1
Canonical correspondence analysis Example: Mexican plant data
Scaling = 1
4
as
1
ALTITUDE
so
3
ac
2
BAREDSOIL
1
ru
cy
CCA2
grcyn
9
ma 13
10 15
21
19
11la
6
22 14
0
0
8 17 4
20
3 vit 12 18
7 co
16 5
AGE grresto
eu MAXVEGHEIGHT
−1
le
−2
vi
−3
com
−2 0 2 4
CCA1
Canonical correspondence analysis When to use PCA, RDA, CA or CCA
Contents
Summary of methods:
Relationships in PCA and RDA are linear.
In RDA and CCA two sets of variables are used, and a
cause-effect relationship is asssumed.
Canonical correspondence analysis When to use PCA, RDA, CA or CCA
Summary of methods:
Relationships in PCA and RDA are linear.
In RDA and CCA two sets of variables are used, and a
cause-effect relationship is asssumed.