let's for example I have 3 sequences
myseq=DNAStringSet(c("ATGACGAACTGTAAAGGACTGCACGGCC",
"TCCAACGAGAAAACCTGTGGGCACGGCCAAAACTGTTGGG",
"GGCGGGGACAAATGTTCCATGACTGGCCTTTAAAGGCCTAGAT"))
and the patterns I need to search are
fragments= DNAStringSet(c("ACTG","AAAA"))
counts=vcountPDict(fragments,myseq)
I want to compile the information in the form of a table with headings DNA seq, fragment and count for fragment in different columns so it can be presented well.