Description Usage Arguments Examples
Determine core K from phase 3 tpl and til
1 |
D |
input matrix D |
rm |
binary rule matrix |
tpl |
list of top performances |
til |
list of top rule set index matrices |
cov.thresh |
core coverage threshold, defaults is 95 |
perf.thresh |
core performance threshold, default is 90 |
1 2 3 4 5 6 7 8 9 10 | 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)
tpl.p2 <- evaluateListOfIMs(D,Q,rm.full,til.p2)
core.K <- getCoreK(D,rm.full,tpl.p2,til.p2)
# core.K should be 3 almost always for this example, can run a few time to confirm
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.