RnBeads - test statistics for rnb.run.differential
1
0
Entering edit mode
Brian Smith ▴ 120
@brian-smith-6197
Last seen 4.2 years ago
United States

Hi,

I was running rnb.run.differential with the following code:

================

rnb.options("covariate.adjustment.columns"=c("AGE"))

rnb.options(export.to.ewasher=TRUE)
rnb.options(inference=TRUE)
rnb.options(differential.site.test.method="refFreeEWAS")
rnb.options("differential.comparison.columns"="Class")


rnb.run.differential(rnb.set=rnb.set4, dir.reports=report.dir4)

====================

 

I get the p.values in the results, but is there a way to get the underlying test statistic results as well (t-statistic/wald etc.)

thanks!

RnBeads • 1.6k views
ADD COMMENT
0
Entering edit mode
rnbeads • 0
@rnbeads-7880
Last seen 3.9 years ago
Germany

Hi,
yes, in. The "rnb.run.differential" function returns a result, that contains an object of type RnBDiffmeth in a slot named "diffmeth".
A function applicable to that object is called "get.site.test.method()" and should return what you are asking for:
dm <- rnb.run.differential(...)$diffmeth
get.site.test.method(dm)

HTH,
Fabian

ADD COMMENT

Login before adding your answer.

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