Description Usage Arguments Value Examples
Principal Component Analysis and clustering of Maldi_Tof spectra
1 2 3 4 5 6 7 8 9 10 11 |
ni, nf: |
first and last columns corresponding to categorical variables (default values, ni=1, nf=10) |
df_m: |
dataframe containing peaks and metadata |
dist: |
distances, "euclidean", (default value), "euclidean", "maximum", "manhattan", "canberra", "binary", "minkowski", "pearson", "spearman" or "kendall". |
varCat1: |
categorical variable for choosing isolates, examples: "Taxonomie" ,"Genre", "Date.d.analyse" ,"Origine","Ruche", "Nutrition" , "Date.de.récolte" , "Lieu.de.la.ruche" |
value: |
level of catVar1, examples: "Lactobacillus" ("Genre"), Taxonomie("Pediococcus pentosaceus"), "Erica cinerea" ("Nutrition"),... |
meth: |
clustering method, ward(default), "average" ,"single","complete‘ |
graph: |
visual analysis, "dendf", "dendh", (dendograms) "factorMapf", "factorMaph", "factorMapClus",(factor maps) (default value, graph="factorMapClus" ) |
pc: |
number of principal components (pc=3, default value) |
figures and statistics
1 2 3 4 5 6 7 8 9 | pc<-PCA_Clus(df_Peaks, varCat1="Genre", value="Lactobacillus"),
pc<-PCA_Clus(df_Peaks, varCat1="Genre", value="Lactobacillus", graph="dendh")
pc<-PCA_Clus(df_Peaks, varCat1="Genre", value="Lactobacillus", graph="dendf"),
pc<-PCA_Clus(df_Peaks, varCat1="Genre", value="Lactobacillus", graph="factorMapf")
source: https://www.rdocumentation.org/packages/FactoMineR/versions/2.2/topics/PCA
https://www.rdocumentation.org/packages/FactoMineR/versions/2.2/topics/HCPC
http://www.sthda.com/english/articles/31-principal-component-methods-in-r-practical-guide/117-hcpc-hierarchical-clustering-on-principal-components-essentials/
https://rpkgs.datanovia.com/factoextra/
http://factominer.free.fr/factomethods/hierarchical-clustering-on-principal-components.html
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.