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

Description Usage Arguments Value Examples

View source: R/as.matrix.uwmwRes.R

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

1
2
3
4
5
## S3 method for class 'uwmwRes'
as.matrix(x, ...)

## S4 method for signature 'uwmwRes'
as.matrix(x, ...)

Arguments

x

a uwmwRes object

...

currently ignored

Value

A matrix containing the columns specified above.

Examples

1
2
3
data(NBmat)
NBtest <- uWMW(NBmat, groups=NBgroups)
as.matrix(NBtest)

unifiedWMWqPCR documentation built on Nov. 8, 2020, 6:05 p.m.