EdgeR exclude 0 count subjects for each gene
1
1
Entering edit mode
3.1 years ago
RNAseqer ▴ 280

Is there a way to get edgeR to take a matrix of count data containing say 10 subjects and 10 genes then perform regression for each gene ONLY using subjects with non-zero counts for that gene? So some genes may have 10 subjects, some 9 some 8 etc. This is for the purpose of investigating how 0 counts are impacting my results.

Barring that does anyone know how I would program a simple R loop to use lm() to do the same thing? Im merely intereted in comparing the genes' t-statistics with 0s in, and with 0s out.

count edgeR R • 689 views
ADD COMMENT
1
Entering edit mode
3.1 years ago
Gordon Smyth ★ 7.7k

No, you cannot subset to different columns for different genes using edgeR.

However you can do that with limma. Just convert the counts to logCPMs, then set the values for zero counts to NA.

ADD COMMENT

Login before adding your answer.

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