Closed dramanica closed 3 months ago
Implemented standard project for samples without missing data in 427c9c016a02a6a79e269003e4f11c050112c588, we just need an example.
For projecting, we should add the option of replacing the missing data with the mean values from the PCA object.
Implemented simple projection in #43 . We now need to implement lsq projection as used in smartpca or smartsnp, for samples with lots of missing data.
We should set up something similar to: https://github.com/ChristianHuber/smartsnp/blob/master/vignettes/aDNA_smartpca_analysis.Rmd
Checking that we can match eigenstrat for PCA. In the process, we could develop a couple of functions to directly read packedancestry files using admixtools2.