Displaying 1 result from an estimated 1 matches for "g9ss7ba01c9uir".
2012 Mar 02
2
Why do my regular expressions require a double escape \\ to get a literal??
...out some data in R.
I'm working on a data file which contains taxonomical data of bacteria
in hierarchical order.
A sample of this file can be generated using:
tax.data <- read.table(header=F, con <- textConnection('
G9SS7BA01D15EC Bacteria(100) Cyanobacteria(84) unclassified
G9SS7BA01C9UIR Bacteria(100) Proteobacteria(94)
Alphaproteobacteria(89)
G9SS7BA01CM00D Bacteria(100) Proteobacteria(99)
Alphaproteobacteria(99)
'))
close(con)
What I try to do is to remove the parenthesis and the number inside
(which could contain a decimal point)
I assumed that the foll...