Error in log2(exprs(eSet)) : non-numeric argument to mathematical function
2
0
Entering edit mode
@charlesgwellem-16293
Last seen 2.6 years ago
Germany

Hi fiolks, any hint on why I get the error :

Error in log2(exprs(eSet)) : 
  non-numeric argument to mathematical function

>abatch<-ReadAffy()

>eSet<-mas5(abatch)

>eSet

ExpressionSet (storageMode: lockedEnvironment)
assayData: 22283 features, 8 samples 
  element names: exprs, se.exprs 
protocolData
  sampleNames: GSM31867_SKNMC.CEL GSM31867_SKNMC.CEL.gz ... GSM31870_SHSY5Y.CEL.gz (8 total)
  varLabels: ScanDate
  varMetadata: labelDescription
phenoData
  sampleNames: GSM31867_SKNMC.CEL GSM31867_SKNMC.CEL.gz ... GSM31870_SHSY5Y.CEL.gz (8 total)
  varLabels: sample
  varMetadata: labelDescription
featureData: none
experimentData: use 'experimentData(object)'
Annotation: hgu133a 

> SI<-log2(exprs(eSet))
Error in log2(exprs(eSet)) : 
  non-numeric argument to mathematical function

microarray biobase • 2.7k views
ADD COMMENT
2
Entering edit mode
@martin-morgan-1513
Last seen 3 months ago
United States

Is it exprs function - clash with dplyr problem (conflict with dplyr::exprs()) ?

ADD COMMENT
0
Entering edit mode
@charlesgwellem-16293
Last seen 2.6 years ago
Germany

Thank you very much Mr. Morgan. I have solved the problem by adding 

exprs=Biobase::exprs

to the top of the script.

ADD COMMENT

Login before adding your answer.

Traffic: 924 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