Metabolomics Society Forum

Software => R => CAMERA => Topic started by: dlforrister on October 18, 2015, 11:02:15 AM

Title: Error in x$membership
Post by: dlforrister on October 18, 2015, 11:02:15 AM
Hi all,

I am trying to annotate my peak list using Camera. I get the following error on the first step:

> xsa <- xsAnnotate(xs=xset4,polarity="negative")
Error in x$membership : $ operator not defined for this S4 class


This error occurs on both R 3.1.3 and R 3.1.2

Some googling indicated that the issue is probably due to the using a newer version of R and of igraph 1.0.1. I've tried rolling back to previous versions of both R but have had issues.

Any suggestions?

Thank you,

DF
Title: Re: Error in x$membership
Post by: Jan Stanstrup on October 18, 2015, 12:08:32 PM
For reference here is the discussion of the problem: https://support.bioconductor.org/p/69414/ (https://support.bioconductor.org/p/69414/)
Title: Re: Error in x$membership
Post by: dlforrister on October 18, 2015, 02:11:24 PM
Thank you. The solution at the very bottom of that thread worked. I hadn't seen that before.

Cheers
DF