[BioC] how to get the first hit in each sequence from vmatchPattern results

wang peter wng.peter at gmail.com
Fri Nov 2 18:51:19 CET 2012


dear ALL

   See the example,
result <- vmatchPattern(currentPattern, sread(currentReads),
max.mismatch= max.mismatchs, min.mismatch=0);
startIndex(result)
[[1]]		
[1] 1

[[2]]
[1] 1 [2] 2


if i want to get only the [1] element from the [[1]] and [[2]]

what can i do?

thx

-- 
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