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.
Since I am using Monte Carlo to calculate the p-value of my method (comparing power of association test), I need to remove the high correlated SNPs for each replicate.
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.
Since I am using Monte Carlo to calculate the p-value of my method (comparing power of association test), I need to remove the high correlated SNPs for each replicate.