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

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

as.matrix.uwmwResR Documentation

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

## 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

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


CenterForStatistics-UGent/unifiedWMWqPCR documentation built on Oct. 28, 2024, 2:34 p.m.