how to match a regular expression to XString, XStringViews or MaskedXString object
1
1
Entering edit mode
wang peter ★ 2.0k
@wang-peter-4647
Last seen 8.4 years ago
hello all i know matchPattern can match a string to XString, XStringViews or MaskedXString object but not allow regular expression do you know which function can support regular expression match 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@cornell.edu Facebook:http://www.facebook.com/profile.php?id=100001986532253 [[alternative HTML version deleted]]
• 1.0k views
ADD COMMENT
0
Entering edit mode
@harris-a-jaffee-3972
Last seen 8.3 years ago
United States
Perhaps gregexpr or one of these, found with help.search("regex"): Biostrings::gregexpr2 A replacement for R standard gregexpr function base::grep Pattern Matching and Replacement base::regex Regular Expressions as used in R base::.standard_regexps Miscellaneous Internal/Programming Utilities utils::aregexec Approximate String Match Positions On Dec 6, 2011, at 5:31 PM, wang peter wrote: > hello all > i know matchPattern can match a string to XString, XStringViews or > MaskedXString object > but not allow regular expression > do you know which function can support regular expression match > 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 > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/ > gmane.science.biology.informatics.conductor
ADD COMMENT

Login before adding your answer.

Traffic: 325 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6