Learn R Programming

unifiedWMWqPCR (version 1.8.0)

as.matrix.uwmwRes: S3 method as.matrix for uwmwRes objects.

Description

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.

Usage

"as.matrix"(x, ...)
"as.matrix"(x, ...)

Arguments

x
a uwmwRes object
...
currently ignored

Value

A matrix containing the columns specified above.

Examples

Run this code
data(NBmat)
NBtest <- uWMW(NBmat, groups=NBgroups)
as.matrix(NBtest)

Run the code above in your browser using DataLab