[BioC] how to match a regular expression to XString, XStringViews or MaskedXString object

Harris A. Jaffee hj at jhu.edu
Wed Dec 7 17:40:42 CET 2011


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



More information about the Bioconductor mailing list