rocXList: Object 'rocXList' constructor

Description Usage Arguments Value Author(s) Examples

Description

The object of rocXList-class class is a container for storing a collection of rocX-class objects.

Usage

1

Arguments

...

each element of link{rocX} object

Value

An S4 rocXList-class object.

Author(s)

Xiaobei Zhou and Mark D. Robinson.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(benchmarkR)

re <- SimResults(pval=matrix(rnorm(1000), 250, 4), 
                 padj=matrix(rnorm(1000), 250, 4),  
                 labels=sample(0:1, 250, replace=TRUE))

# matrix operators can be used for 'SimResults'
res1 <- re[1:100,] 
res2 <- re[101:200,] 
r1 <- rocX(res1, plot=FALSE)
r2 <- rocX(res2, plot=FALSE)
roc <- rocXList(r1=r1, r2=r2)

markrobinsonuzh/benchmarkR documentation built on May 21, 2019, 12:24 p.m.