Hi all,

I am using the unique(x) function with a DNAStringSet in one of my own functions.  Recently my function has started returning an error, and I am not sure what changed.  The same line of code works fine in the R Console, just not in my function.  I am using the function as:

myDNAStringSet <- unique(myDNAStringSet)

When I run my function the error returned is:

Error in unique.default(myDNAStringSet) : 
  unique() applies only to vectors

I am guessing that the R is trying to apply the unique function in the base package to the DNAStringSet rather than using the unique function in the Biostrings package.  Is there a solution to this?

Thanks!,
Erik



	[[alternative HTML version deleted]]

