Learn R Programming

crso (version 0.1.1)

buildRuleLibrary: Make full rule library of all rules that satisfy minimum coverage threshold.

Description

Make full rule library of all rules that satisfy minimum coverage threshold.

Usage

buildRuleLibrary(D, rule.thresh, min.epr)

Arguments

D

Binary matrix of N events and M samples

rule.thresh

Minimum fraction of rules covered. Default is .03

min.epr

minimum events per rule. Default is 2.

Examples

Run this code
# NOT RUN {
library(crso)
data(skcm)
list2env(skcm.list,envir=globalenv())
rm.full <- buildRuleLibrary(D,rule.thresh = 0.05) # build rule library
dim(rm.full) # Should be matrix with dimension 60 x 71
# }

Run the code above in your browser using DataLab