This is a test version of Biostars. For the public version, visit https://www.biostars.org.
unable to find an inherited method for function matchPWM for signature "list"match

Hi I am trying to use the function matchPWM which needs the pwm, sequence and the min score cutoff as the arguments,

I am giving the pwm and seq as follows:

> matchPWM(pwm, seq, min.score="60%")

and it is throwing me an error:

unable to find an inherited method for function matchPWM for signature '"list"'

Please let me know what could possibly be going wrong.

biostrings r

Can you post the output of the following?

class(pwm)
class(seq)

1 answer

seq should be a DNAString, not a list. Have a read through help(matchPWM).

Log in to answer this question.