bcm-uga / pcadapt

Performing highly efficient genome scans for local adaptation with R package pcadapt v4
https://bcm-uga.github.io/pcadapt
37 stars 10 forks source link

Remove Outliers from data #53

Closed kwojtusik closed 4 years ago

kwojtusik commented 4 years ago

Hello,

I've run PCadapt and have identified the outliers for my data set. How would I go about creating a list of those SNPs to use in VCFtools so that I can remove them for downstream analyses?

Apologies if this has been answered before, I could not find it in other issues. Thank you.

-Kris

privefl commented 4 years ago

I'm not sure where I can help you.

If you have identified the outliers (their indices), and have the SNP names stored somewhere, then you can write the subset of names to some file to be used by VCFtools (which I never used before but assume it works like PLINK).