This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Scaling and centering of SNP genotype data in .bed format in r for use in PCA?

Hello. I would like to do some outlier detection on my SNP data. I am using pcadapt in r and import my .bed file using filename <- read.pcadapt(path_to_file, type = "bed"). In the pcadapt manual, it says "a principal component analysis is performed on the scaled and centered genotype data".

Does anyone know how to suitably scale and centre the .bed file in r in preparation for outlier analysis? Or even in plink?

Thanks in advance.

r snp bed pca pcadapt

0 answers

No answers yet.

Log in to answer this question.