Question: Affy's exprs not working.. intensity works..
gravatar for elmira.amiri
11 weeks ago by
elmira.amiri0 wrote:


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?

ADD COMMENTlink modified 11 weeks ago by James W. MacDonald47k • written 11 weeks ago by elmira.amiri0
gravatar for James W. MacDonald
11 weeks ago by
United States
James W. MacDonald47k 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.


should work just fine.

ADD COMMENTlink written 11 weeks ago by James W. MacDonald47k

Yes, it works.

Thanks James.

ADD REPLYlink written 11 weeks ago by elmira.amiri0
Please log in to add an answer.


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