buildRuleLibrary {crso}R Documentation

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

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

[Package crso version 0.1.1 Index]