Open elizeng opened 3 years ago
Hi,
I suspect it is due to missingness and the very low number of samples that are probably not suitable for PCA. You could simply treat the negative value as 0, even though it would not be entirely correct.
Best, Jonas
I have a dataset with 5 samples and when I conduct pcangsd, I am unable to properly calculate the proportion of variation for each PC due to the presence of a negative eigenvalue.
It adds up to 100% due to the negative value but it doesn't make sense in percentages. Anyone has any advice on what to do with such a dataset?
I do not have the same issue when using plink to plot my pca, but I believe the algorithm used is different.