[BioC] Searching for data in data.frames

J.delasHeras at ed.ac.uk J.delasHeras at ed.ac.uk
Fri Apr 21 16:33:49 CEST 2006


Quoting Stephen Henderson <s.henderson at ucl.ac.uk>:

> Have you tried
>
> wh<-which(RG$genes=="COL6A3")

aha!!!
THIS is EXACTLY what I was searching for.

while the other functions are also very helpful (grep and regexpr), 
"which" is *exactly* what I wanted. Perfect!

Thank you, Stephen!

Jose

-- 
Dr. Jose I. de las Heras                      Email: J.delasHeras at ed.ac.uk
The Wellcome Trust Centre for Cell Biology    Phone: +44 (0)131 6513374
Institute for Cell & Molecular Biology        Fax:   +44 (0)131 6507360
Swann Building, Mayfield Road
University of Edinburgh
Edinburgh EH9 3JR
UK



More information about the Bioconductor mailing list