Learn R Programming

crso (version 0.1.1)

evaluateListOfIMs: Evaluate list of rule set matrices

Description

Evaluate list of rule set matrices

Usage

evaluateListOfIMs(D, Q, rm, im.list)

Arguments

D

binary matrix of events by samples

Q

penalty matrix of events by samples

rm

matrix of rules ordered by phase one

im.list

list of rule set matrices

Value

list of Js for each rule set matrix

Examples

Run this code
# NOT RUN {
library(crso)
data(skcm)
list2env(skcm.list,envir=globalenv())
Q <- log10(P)
rm.full <- buildRuleLibrary(D,rule.thresh = 0.05) # Rule library matrix, dimension: 60 x 71
p2.im.list <- makePhaseTwoImList(D,Q,rm.full,k.max = 3,pool.sizes=c(60,20,20),max.stored=100,
              shouldPrint = TRUE)
p2.performance.list <- evaluateListOfIMs(D,Q,rm.full,p2.im.list)
# }

Run the code above in your browser using DataLab