search for: orthop107_dna_str

Displaying 1 result from an estimated 1 matches for "orthop107_dna_str".

Did you mean: orthop100_dna_str
2010 May 28
1
How to get values out of a string using regular expressions?
...str.aln", "OrthoP10_DNA_str.aln", "OrthoP100_DNA_str.aln", "OrthoP101_DNA_str.aln", "OrthoP102_DNA_str.aln", "OrthoP103_DNA_str.aln", "OrthoP104_DNA_str.aln", "OrthoP105_DNA_str.aln", "OrthoP106_DNA_str.aln", "OrthoP107_DNA_str.aln") using grep("(\\d+)",X,perl=T,value=T) I get the complete values back. Yet, I want a vector : c(1,10,100,101,102,103,104,105,106,107) In Perl, using the brackets allows for extracting only the numbers (using a construct with $1 for those who know Perl). I want to do the sam...