simplifyInteractionMatrix: Simplify Interaction Matrix

View source: R/utils.R

simplifyInteractionMatrixR Documentation

Simplify Interaction Matrix

Description

Simplify Interaction Matrix

Usage

simplifyInteractionMatrix(mat, alpha = 0.5, colname = NA)

Arguments

mat

dgCMatrix interaction matrix such as produced by getInteractionMatrix.

alpha

Number between 0 and 1 specifying voting threshold. Eg. for 3 column matrix alpha 0.5 will give voting criteria >= 2.

colname

character giving new column name.

Value

dgCMatrix


bkaczkowski/xcore documentation built on Jan. 26, 2024, 6:24 p.m.