Skip to contents

Compute KL divergence between two PSSMs

Usage

pssm_diff(pssm1, pssm2)

Arguments

pssm1

first PSSM matrix or data frame

pssm2

second PSSM matrix or data frame

Value

KL divergence between the two PSSMs

Examples

if (FALSE) { # \dontrun{
res1 <- regress_pwm(cluster_sequences_example, cluster_mat_example[, 1])
pssm_diff(res1$pssm, JASPAR_motifs[JASPAR_motifs$motif == "HNF1A", ])
} # }