I am attempting to use the mas5calls function to get present/absent calls on a large collection of microarray data that I am attempting to analyze. I will admit I am new to this type of analysis and am looking for some direction to correct the error I am receiving. My error is produced as follows:
> callsESet <- mas5calls(affy_liver_qc)
Getting probe level data...
Computing p-values
Error in `colnames<-`(`*tmp*`, value = c("95686.CEL", "95703.CEL", "95746.CEL", :
length of 'dimnames' [2] not equal to array extent
What does this error signify and how can I correct it? What is the package telling me I need to fix?
The most likely answer is that the files you are trying to analyze are PM-only arrays, in which case it isn't possible to compute conventional MAS5.0 calls. I believe the xps package will allow you to estimate something similar for PM-only arrays, and both xps and oligo offer dabg and psdabg calls (paCalls() in oligo), which are supposed to be equivalent measures for PM-only arrays.
Thanks for your answer, James. My data all comes from the Affymetrix rat genome 230 2.0 array, and multiple papers have indicated that the arrays have been examined for present, marginal, or absent calls. Is the method I am using not suited to these PMA arrays?
in my separate project for testing, I have imported my affy_liver_qc affybatch value. I was able to run
mas5calls(affy_liver_qc)
and received no errors. I switched to my working directory project, ran:
> callsESet<-mas5calls(affy_liver_qc)
Getting probe level data...
Creating a generic function for ‘nchar’ from package ‘base’ in package ‘S4Vectors’
Computing p-values
Error in `colnames<-`(`*tmp*`, value = c("95686.CEL", "95703.CEL", "95746.CEL", :
length of 'dimnames' [2] not equal to array extent
You probably have a .Rdata file in your working directory that has something in it that is messing things up, so maybe you should try starting R using --vanilla so you don't load that in. In addition, it seems like you have the wrong versions of Bioconductor packages for that version of R. You should upgrade, following the instructions here.
Thanks for your answer, James. My data all comes from the Affymetrix rat genome 230 2.0 array, and multiple papers have indicated that the arrays have been examined for present, marginal, or absent calls. Is the method I am using not suited to these PMA arrays?
No, those arrays are PM/MM arrays, so it should work. Is 'affy_liver_qc' an AffyBatch?
In environment - values in RStudio, 'affy_liver_qc' is annotated as a 'Large AffyBatch (1.2 Mb)
I can't reproduce your error:
Can you get what I just did to work?
I replicated your testing above and it appears to work.
I'm able to reproduce what you accomplished above.
in my separate project for testing, I have imported my affy_liver_qc affybatch value. I was able to run
and received no errors. I switched to my working directory project, ran:
I am unsure as to how to proceed.
You probably have a .Rdata file in your working directory that has something in it that is messing things up, so maybe you should try starting R using --vanilla so you don't load that in. In addition, it seems like you have the wrong versions of Bioconductor packages for that version of R. You should upgrade, following the instructions here.