Multivariate analysis of ecological data with ade4
St´ ephane Dray
- Univ. Lyon 1
CARME 2011, Rennes
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 1 / 31
Multivariate analysis of ecological data with ade4 St ephane Dray - - PowerPoint PPT Presentation
Multivariate analysis of ecological data with ade4 St ephane Dray Univ. Lyon 1 CARME 2011, Rennes St ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 1 / 31 Introduction Overview What? ade4 is an package for the exploratory analysis of
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 1 / 31
Introduction Overview
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 2 / 31
Introduction Overview
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 2 / 31
Introduction Overview
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 2 / 31
Introduction Short history
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 3 / 31
Introduction Short history
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 3 / 31
Introduction Short history
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 3 / 31
Introduction Short history
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 3 / 31
Introduction Short history
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 3 / 31
Introduction Short history
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 3 / 31
Introduction Short history
Thioulouse et al. (1997) Statistics and Computing. Chessel et al. (2004) R News. Dray et al. (2007) R News. Dray and Dufour (2007) JSS.
Subject Area (%) ECOLOGY 30.27 % MARINE & FRESHWATER BIOLOGY 18.95 % ENVIRONMENTAL SCIENCES 12.18 % MICROBIOLOGY 8.51 % PLANT SCIENCES 8.31 % SOIL SCIENCE 6.67 % GENETICS & HEREDITY 6.18 % EVOLUTIONARY BIOLOGY 6.09 % BIODIVERSITY CONSERVATION 5.60 % BIOCHEMISTRY & MOLECULAR BIOLOGY 5.41 % FORESTRY 5.41 % LIMNOLOGY 5.31 % ... ... St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 4 / 31
Diversity of ecological datasets
1 Biological questions/models St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 5 / 31
Diversity of ecological datasets
1 Biological questions/models 2 Sampling methods/tools St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 5 / 31
Diversity of ecological datasets
1 Biological questions/models 2 Sampling methods/tools 3 Data structures
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 5 / 31
Diversity of ecological datasets
1 Biological questions/models 2 Sampling methods/tools 3 Data structures
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 5 / 31
Diversity of ecological datasets Community Ecology
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 6 / 31
Diversity of ecological datasets Community Ecology
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 7 / 31
Diversity of ecological datasets Community Ecology
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 8 / 31
Diversity of ecological datasets Community Ecology
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 9 / 31
Diversity of ecological datasets Community Ecology
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 10 / 31
Diversity of ecological datasets Community Ecology
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 11 / 31
The ade4 philosophy
ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 12 / 31
The ade4 philosophy
cloud of n rows (individuals) variable 1 variable 2 variable p individuals hyperspace
cloud of p columns (variables) individual 1 individual 2 individual n variables hyperspace
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 13 / 31
The ade4 philosophy Theoretical aspects
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 14 / 31
The ade4 philosophy Theoretical aspects
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 15 / 31
The ade4 philosophy The dudi class
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 16 / 31
The ade4 philosophy The dudi class
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 16 / 31
The ade4 philosophy The dudi class
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 17 / 31
The ade4 philosophy The dudi class
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 18 / 31
One-table analysis
variables individuals
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 19 / 31
One-table analysis
Demo St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 20 / 31
One-table analysis
Function name Type of graph s.arrow Factor map with arrows (projection of a vector basis) s.chull Factor map with convew hulls s.class Factor map with classes of points s.corcircle Factor map with correlation circle s.distri Factor map with frequency distribution s.hist Factor map with marginal histograms s.image Factor map with background image and contour curves s.kde2d Factor map with kernel density estimation s.label Factor map with labels s.logo Factor map with logos (pictures) s.match Factor map with paired coordinates s.match.class Factor map with paired coordinates and classes of points s.multinom Factor map with frequency profiles (genetics) s.traject Factor map with trajectories s.value Factor map with symbols proportional to some values sco.boxplot Boxplots on a score for a set of factors sco.class Labels on a score grouped by a factor sco.distri Mean & Std Dev for a weighted score sco.gauss Gauss curves on a score and a set of factors sco.label Labels on a score sco.match labels on two scores sco.quant Relations between a score and quantitative variables St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 21 / 31
Two-table analysis
individuals variables variables
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 22 / 31
Two-table analysis
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 23 / 31
Two-table analysis
d = 2
Loadings
d = 2
(Intercept) das alt pen deb pH dur pho nit amm
dbo
Loadings
d = 0.5
Correlation
d = 0.5
(Intercept) das alt pen deb pH dur pho nit amm
dbo
Correlation
Axis1 Axis2
Inertia axes
d = 5
Scores and predictions
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
d = 0.1
Variables
d = 0.1
CHA TRU VAI LOC OMB BLA HOT TOX VAN CHE BAR SPI GOU BRO PER BOU PSO ROT CAR TAN BCO PCH GRE GAR BBO ABL ANG
Variables Eigenvalues
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 24 / 31
Two-table analysis
Demo St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 25 / 31
Other functions
variables individuals
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 26 / 31
Other functions
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 27 / 31
Other functions
Demo St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 28 / 31
The ade-family Other thematic packages
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 29 / 31
The ade-family The graphical interface
Demo St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 30 / 31
The ade-family Ressources
St´ ephane Dray (Univ. Lyon 1) CARME 2011, Rennes 31 / 31