Affy's exprs not working.. intensity works..
1
0
Entering edit mode
@elmiraamiri-15925
Last seen 6.5 years ago

Hi,

I have a recent problem running the exprs() function on an AffyBatch object. Previously, I was able to run it, but all of a sudden, when I run, the following code snippet, I get a list instead of an object. And therefore, when I want to display it in Jupyter notebook, it gives me the following error:

> affy_obj

    AffyBatch object
    size of arrays=1164x1164 features (106 kb)  
    cdf=HG-U133_Plus_2 (54675 affyids)  

> expr = exprs(affy_obj)

    ERROR while rich displaying an object: Error in FUN(X[[i]], ...): attempt to use zero-length variable name

However, if I use intensity() function, it works. Anyone knows what am I missing?

affy exprs intensity • 1.1k views
ADD COMMENT
2
Entering edit mode
@james-w-macdonald-5106
Last seen 17 hours ago
United States

You have probably loaded a package that masks exprs. There is some package from the tidyverse that will do that, and probably other packages as well. The fix is to specify the package and function directly, using the double colon operator.

affy::exprs(affy_obj)

should work just fine.

ADD COMMENT
0
Entering edit mode

Yes, it works.

Thanks James.

ADD REPLY

Login before adding your answer.

Traffic: 554 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6