Question: Affy's exprs not working.. intensity works..
gravatar for elmira.amiri
24 days 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 24 days ago by James W. MacDonald46k • written 24 days ago by elmira.amiri0
gravatar for James W. MacDonald
24 days ago by
United States
James W. MacDonald46k 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 24 days ago by James W. MacDonald46k

Yes, it works.

Thanks James.

ADD REPLYlink written 24 days 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: 393 users visited in the last hour