how to deal with "The number of covariates exceeds the number of samples" on matrixeqtl
1
0
Entering edit mode
12 months ago
Binghong ▴ 20

Hi guys, I try to analyze the association of SNP and gene using the matrieqtl, but there are 9094 covariates but only 171 samples, the matrixeqtl show that "The number of covariates exceeds the number of samples." I have no idea how to deal with it, how to reduce the number of covariates. Any guidance is appreciated !!

covariate matrixeqtl • 566 views
ADD COMMENT
0
Entering edit mode
12 months ago
LChart 3.9k

This just means your metadata has too many rows. Usually this file will contain biological age, sex, maybe 1-3 genotype PCs, and maybe 1-10 expression factors (PEER or SVA or something); and not much else. What do you have in yours?

ADD COMMENT
0
Entering edit mode

I added the CNV data to the covariates, which increased number of covariates to 9,000

ADD REPLY
1
Entering edit mode

You can only retain a small number of CNVs; or you can compute a SVD of the CNV genotype matrix and include the top PCs

ADD REPLY
0
Entering edit mode

Thanks for your guidance. I will have a try

ADD REPLY

Login before adding your answer.

Traffic: 2670 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