Entering edit mode
8.8 years ago
zwang10
▴
30
Hello all!
I have a data set (matrix) of a gene, each row represents an individual, and each column represents a genotype score (0, 1, 2). How can I remove the high correlated (r=0.8) SNPs?
I was trying using SNPRelate. But it needs GDS file. But there is no column name of the matrix.
Can you tell me use which tool can convert matrix into PLINK files?
You have a few options. With a little manipulation in R you could easily generate a map and ped (file specs are here). Another option would be to use the R package snpStats to; i) convert your matric to a snpStats object, ii) write out PLINK files in R.