filter_praznik.Rd
This function is a wrapper over Entropy-Based Feature Selection Algorithms for k-mer data.
filter_praznik(target, kmers, method)
a numeric response variable
a matrix of kmers with named columns or an object obtained via
generate_kmer_data
function.
a character name of a filter type. One of "MIM", "MRMR", "JMI", "JMIM", "DISR", "NJMIM", "CMIM", "CMI". See details for more information.
a character vector of names of selected kmers
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)