makePhaseTwoImList {crso} | R Documentation |
Output list of top rule sets for each k in 1:k.max
Description
Output list of top rule sets for each k in 1:k.max
Usage
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
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)
[Package crso version 0.1.1 Index]