This function is a wrapper over Entropy-Based Feature Selection Algorithms for k-mer data.

filter_praznik(target, kmers, method)

Arguments

target

a numeric response variable

kmers

a matrix of kmers with named columns or an object obtained via generate_kmer_data function.

method

a character name of a filter type. One of "MIM", "MRMR", "JMI", "JMIM", "DISR", "NJMIM", "CMIM", "CMI". See details for more information.

Value

a character vector of names of selected kmers

Details

This function uses - MIM - MRMR - JMI - JMIM - DISR - NJMIM - CMIM - CMI

Examples

n_seq <- 20
sequence_length <- 20
alph <- letters[1:4]
motifs <- generate_motifs(alph, 4, 4, 4, 6)
kmers <- generate_kmer_data(n_seq, sequence_length, alph,
                            motifs, n_injections = 4)
target <- get_target_additive(kmers)
filter_praznik(target, kmers, "infogain", 0.01)
#> Error in filter_praznik(target, kmers, "infogain", 0.01): unused argument (0.01)