Scaling and centering of SNP genotype data in .bed format in r for use in PCA?
0
0
Entering edit mode
3.8 years ago
bntjoanne ▴ 10

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 • 751 views
ADD COMMENT

Login before adding your answer.

Traffic: 2711 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6