Random effect model RNAseq
0
0
Entering edit mode
24 days ago
a.stef.44 ▴ 10

Hi everyone,

I would like to perform random effect model (RMA) using LFC from DESeq2 and Var. I have four different studies and I planned to use REML (Restricted maximum likelihood) estimator, I have one dataset composed of LFC values of Study1, Study2, Study3 and Study4 (in columns) and different data frame composed of Var for Study1, Study2, Study3 and Study4 (in columns). The function I found is form metafor package https://cran.r-project.org/web/packages/metafor/vignettes/metafor.pdf:

m_re <- rma(yi = df$d,     
            vi = df$vi)  

But in my case I don't know how to organize data frame to be able to perform RMA, as now following function I can only do something like this, but it does not make any sense.

rem<-rma(yi=combined.lfc$Study1,
        vi=combined.var$Study1)

Thank you in advance for your help!

rma metafor • 165 views
ADD COMMENT

Login before adding your answer.

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