3.9 Family 5 of analysis : multivariate analysis
Multivariate analysis can answer to multiple objective. On of then can be to study diversity structure and identify parents to cross based on either good complementarity or similarity for some traits (Figure 3.19). It can be completed by analysis of molecular data and genetic distance trees (M3, section 5).
3.9.1 Multivariate analysis (M2)
220.127.116.11 Steps with
For variance intra analysis, you can follow these steps (Figure 3.2) :
- Format the data with
- Run the analysis with
- Check outputs and results with functions from
18.104.22.168 Format the data
data("data_model_GxE") data_model_GxE = format_data_PPBstats(data_model_GxE, type = "data_agro")
## data has been formated for PPBstats functions.
22.214.171.124 Run the analysis
vec_variables = c("y1", "y2", "y3") res.pca = mutlivariate(data_model_GxE, vec_variables, PCA)
126.96.36.199 Check outputs and results
Look at the results thanks to the
fviz_pca_ind(res.pca, label="none", habillage="location", addEllipses=TRUE, ellipse.level=0.95)