Hi,
I have a list of mutations, called "mutList", of the form:

 > head(mutList)
            Alu
1         AluJ
2  AluJ/F(R)AM
3    AluJ/FLAM
4    AluJ/FRAM
5 AluJ/monomer
6        AluJb

It contains about 500 elements and not all of them contain the  
sequence "Alu". I tried using this code:
Alu<-mutList[which(grep("Alu",mutList)==1)]

But that simply returned all of them elements in the list. Is there a  
way to modify the list such that I have only the elements containing  
"Alu" in the new list? Help would be appreciated!

Josh


	[[alternative HTML version deleted]]

