getRulesAsStrings {crso} | R Documentation |
Represent binary rule matrix as strings
Description
Represent binary rule matrix as strings
Usage
getRulesAsStrings(rm)
Arguments
rm |
binary rule matrix |
Value
vector or rules represented as strings
Examples
library(crso)
data(skcm)
list2env(skcm.list,envir=globalenv())
rm.full <- buildRuleLibrary(D,rule.thresh = 0.1) # Small rule library matrix, dimension: 5 x 71
getRulesAsStrings(rm.full)
# output should be: "BRAF-M.CDKN2A-MD" "CDKN2A-MD.NRAS-M"
# "BRAF-M.PTEN-MD" "ADAM18-M.BRAF-M" "ADAM18-M.CDKN2A-MD"
[Package crso version 0.1.1 Index]