SetComplexRocTable-tpcaResult-method: Set ComplexRocTable

Description Usage Arguments Value Examples

Description

Set ComplexRocTable

Usage

1
2
## S4 method for signature 'tpcaResult'
SetComplexRocTable(object, df)

Arguments

object

and object of class tpcaResult

df

data.frame containg ComplexRocTable to set

Value

a data frame containing the results from a tpca analysis

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
m1 <- matrix(1:12, ncol = 4)
m2 <- matrix(2:13, ncol = 4)
m3 <- matrix(c(2:10, 1:7), ncol = 4)

rownames(m1) <- 1:3
rownames(m2) <- 2:4
rownames(m3) <- 2:5

mat_list <- list(
    m1, m2, m3
)
tpcaObj <- new("tpcaResult", ObjList = mat_list)
SetComplexRocTable(tpcaObj, data.frame(FPR = 1, TPR = 1))

Rtpca documentation built on Nov. 8, 2020, 7:44 p.m.