popphylotools / mvMapper

mvMapper (Multivariate Mapper) is an interactive data exploration tool for multivariate analyses with associated geographic location information.
https://popphylotools.github.io/mvMapper/
BSD 2-Clause "Simplified" License
9 stars 1 forks source link

rename LD variables to PC variables #37

Closed jrdupuis closed 7 years ago

jrdupuis commented 7 years ago

To be more in line with the original DAPC publication, we should rename the variables that get called LD1-LD8 to PC1-PC8. Those coordinate systems are the principal components, so "PC" would be more appropriate.

fbremer commented 7 years ago

alright, I can handle "LD" specific code on the mvMapper side, but these names come from the column headers, so this must be addressed in the companion R function in adegenet as well.

jrdupuis commented 7 years ago

Yeah, the R input function adds PC for all analysis types, so that should be good.

Line 103 here: https://github.com/thibautjombart/adegenet/blob/master/R/export_to_webapp.R