Is there a way to create a PDict object from amino acid sequences?
I would like to run a pattern search in a protein sequence for multiple pattern. With just one pattern I can do it with
hits <- matchPattern("K", protein1)
but how can I do it, if I would like to search for e.g. c("K", "R")?