makePhaseTwoImList: Output list of top rule sets for each k in 1:k.max

Description Usage Arguments Value Examples

Description

Output list of top rule sets for each k in 1:k.max

Usage

1
2
makePhaseTwoImList(D, Q, rm.ordered, k.max, pool.sizes, max.stored,
  shouldPrint)

Arguments

D

binary matrix of events by samples

Q

penalty matrix of events by samples

rm.ordered

matrix of rules ordered by phase one

k.max

max k

pool.sizes

vector of the number of top rules evaluated for each k

max.stored

max number of rule sets saved

shouldPrint

Print progress updates? Default is TRUE

Value

largest n such that n choose k < max.num.rs

Examples

1
2
3
4
5
6
7
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
til.p2 <- makePhaseTwoImList(D,Q,rm.full,k.max = 3,
         pool.sizes=c(60,20,20),max.stored=100,shouldPrint = TRUE)

crso documentation built on July 7, 2019, 5:02 p.m.