thibautjombart / adegenet

adegenet: a R package for the multivariate analysis of genetic markers
165 stars 64 forks source link

summmary.spca bug fix for matrices and data frames #329

Closed lvclark closed 2 years ago

lvclark commented 2 years ago

Fixes a bug where summary.spca only worked on spca objects derived from genind and genpop objects. Now summary.spca and screeplot.spca both work when matrices and data frames are used for spca.

Resolves #328

zkamvar commented 2 years ago

Thank you for opening the fix! If you are comfortable with the acknowledgement, would you mind adding your name to the DESCRIPTION as a contributor?

lvclark commented 2 years ago

Sure, I have added it, thanks so much!