Question: Affy's exprs not working.. intensity works..
0
gravatar for elmira.amiri
12 months ago by
elmira.amiri0 wrote:

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 intensity exprs • 216 views
ADD COMMENTlink modified 12 months ago by James W. MacDonald50k • written 12 months ago by elmira.amiri0
Answer: Affy's exprs not working.. intensity works..
2
gravatar for James W. MacDonald
12 months ago by
United States
James W. MacDonald50k wrote:

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 COMMENTlink written 12 months ago by James W. MacDonald50k

Yes, it works.

Thanks James.

ADD REPLYlink written 12 months ago by elmira.amiri0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 301 users visited in the last hour