This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to use limma for a categorial outcome variable? Where outcome is the cohort status and predictor is gene expression.

Hello All,

I am very new to limma and trying to build a logistic regression like model using limma where my goal is to understand associations between the cohort status and gene expression while accounting for variables like age and sex. My gene expression is quantified using RSEM with TPM counts. I have normalized my data using TMM normalization. The following is my code snippet for limma.

design <- model.matrix(~0+Cohort+sex+age, data=PhenoType)   #Cohort:1/0
v <- voomWithQualityWeights(myNormalized_data, design=design, normalization="none", plot=TRUE)
fit1 <- lmFit(v,design)
fit2 <- eBayes(fit1)

Is this design correct? Again, I am not interested in group comparison but predicting cohort status using expression values.

next-gen rna rna-seq limma

1 answer

Do not use TPM values, use raw counts.

Differential expression analysis starting from TPM data

Log in to answer this question.