DepLogo (version 1.0)

filter.by.dependencies: Filter columns (sequence positions) by dependency

Description

Filters columns based on the average or maximum mutual information of a column to all other columns. Mutual information is normalized to to interval [0,1], where 0 corresponds to independence and 1 to perfect dependence.

Usage

filter.by.dependencies(mi.threshold, use.max = FALSE)

Arguments

mi.threshold

the minimum average or maximum mutual information required

use.max

if TRUE, the maximum and otherwise the average mutual information will be considered

Value

function that, given a DLData object, returns TRUE for every column that does exceed the specified average mutual information

Examples

Run this code
# NOT RUN {
fun <- filter.by.dependencies(mi.threshold = 0.3)
# }

Run the code above in your browser using DataCamp Workspace