[BioC] questions about matchPattern and vmatchPattern

wang peter wng.peter at gmail.com
Thu Nov 1 18:21:32 CET 2012


dear ALL:
       Please this sample
subject = "TGCATTT"
Rpattern = "TGCAATTT"
result <- matchPattern(Rpattern, subject, max.mismatch= 4, min.mismatch=0)
result
  Views on a 7-letter BString subject
subject: TGCATTT
views:
    start end width
[1]     0   7     8 [ TGCATTT]
[2]     1   8     8 [TGCATTT ]



is the start position and end position on the subject or pattern?

and for vmatchPattern result
if one pattern has many hits on one sequence, does it return only
one hit or all of hits as results?

thank u
-- 
shan gao
Room 231(Dr.Fei lab)
Boyce Thompson Institute
Cornell University
Tower Road, Ithaca, NY 14853-1801
Office phone: 1-607-254-1267(day)
Official email:sg839 at cornell.edu
Facebook:http://www.facebook.com/profile.php?id=100001986532253



More information about the Bioconductor mailing list