View source: R/as.matrix.uwmwRes.R
as.matrix.uwmwRes | R Documentation |
For uwmwRes
objects, an as.matrix
method is defined that transforms the object to a numeric matrix with the following columns:
logor
:The log odds ratio values
se
:The standard errors on the log OR values.
or
The odds ratio values
z.value
the z values related to the log OR values
p.value
The p values related to the log OR values
The row names are the names of the tested genes/features. The matrix takes the ordering in the object into account if necessary.
## S3 method for class 'uwmwRes'
as.matrix(x, ...)
## S4 method for signature 'uwmwRes'
as.matrix(x, ...)
x |
a uwmwRes object |
... |
currently ignored |
A matrix containing the columns specified above.
data(NBmat)
NBtest <- uWMW(NBmat, groups=NBgroups)
as.matrix(NBtest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.