makeSubCoreList: Get list of core rules from random subsets of samples

Description Usage Arguments Examples

Description

Get list of core rules from random subsets of samples

Usage

1
makeSubCoreList(D, Q, rm, til, num.subsets, num.evaluated, shouldPrint)

Arguments

D

input matrix D

Q

input matrix Q

rm

binary rule matrix

til

list of top rule set index matrices

num.subsets

number of subset iterations, default is 100

num.evaluated

number of top rs considered per k per iteration, default is 1000

shouldPrint

Print progress updates? Default is TRUE

Examples

1
2
3
4
5
6
7
8
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 = FALSE)
subcore.list <- makeSubCoreList(D,Q,rm.full,til.p2,num.subsets=3,num.evaluated=50)

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