Check the frequency matrix input parameter for motifSimilarity
.inputPFMfromMatrixOrPWM(m)
m
either a PWM object or a matrix
corresponding PFM