[BioC] QCReport: specifying alt CDF (MoGene-1_0-st-v1)?

Harry Mangalam harry.mangalam at uci.edu
Tue Sep 21 00:20:50 CEST 2010

Hi BioC 

(sessionInfo() at bottom)

I'm trying to help a group here do some QC on their affy datasets 
derived from the mogene10stv1 array set.  This array is not in 
mainstream BioC support but I've created and installed the CDF 
environment for that array:

>  make.cdf.package("MoGene-1_0-st-v1.r3.cdf", species = "Mus_mus")
(completes, and I've installed the generated CDF env)

but when I try to run  QCReport on this dataset (even explicitly 
specifying the mogene10stv1 CDF env), I get the errors:

> QCReport(ReadAffy(widget=TRUE,cdfname="mogene10stv1cdf"))
#   or 
> QCReport(ReadAffy(widget=TRUE,cdfname="mogene10stv1"))   
#   (get same error)

Error: NAs in foreign function call (arg 1)
In addition: Warning messages:
1: In data.row.names(row.names, rowsi, i) :
  some row.names duplicated: 
[... truncated]
2: In qc.affy(unnormalised, ...) :
  CDF Environment name ' hgu95av2cdf ' does not match cdfname ' 
mogene10stv1cdf '
Error in plot(qc(object)) : 
  error in evaluating the argument 'x' in selecting a method for 
function 'plot'

This: /Error: NAs in foreign function call (arg 1)/
 seems to imply that:

- there's an error in the '(arg 1)'  but which (arg 1)?   
  If this refers to the arg 
  then that part of the command seems to complete fine and returns an 
AffyBatch object as it should
> str(rawdata)
Formal class 'AffyBatch' [package "affy"] with 10 slots
  ..@ cdfName          : chr "mogene10stv1cdf"
  ..@ nrow             : int 1050
  ..@ ncol             : int 1050
- or I have NAs in the data, but doesn't point to where or whether I 
should address them.  
If this is the critical error, I'm guessing I have to choose a 
transform that removes or floor-shifts the NAs into a computational 

- the Warnings:
1: In data.row.names(row.names, rowsi, i) :
  some row.names duplicated: 4,8,9,13,14,15,16,24,25,26,27,28,29, 
  <almost every intervening # omitted> 
  ,513,515,516,51 [... truncated]

Would this be related to warning 2 below?

2: In qc.affy(unnormalised, ...) :
  CDF Environment name ' hgu95av2cdf ' does not match cdfname ' 
mogene10stv1cdf '
but if so, what is the proper way to tell QCReport that I'm using a 
non-default CDF?
the help section for QCReport doesn't describe any params for telling 
it that the CDF env is not 'hgu95av2cdf' and I've tried including that 
info in the ReadAffy() fn as noted:

> QCReport(ReadAffy(widget=TRUE,cdfname="mogene10stv1"))

> sessionInfo()
R version 2.11.1 (2010-05-31) 

 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=C              LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            

attached base packages:
[1] tools     tcltk     stats     graphics  grDevices utils     
[8] methods   base     

other attached packages:
 [1] makecdfenv_1.26.0     tkWidgets_1.26.0      DynDoc_1.26.0        
 [4] widgetTools_1.26.0    hgu95av2cdf_2.6.0     affydata_1.11.10     
 [7] affyQCReport_1.26.0   lattice_0.19-11       RColorBrewer_1.0-2   
[10] affyPLM_1.24.1        preprocessCore_1.10.0 xtable_1.5-6         
[13] simpleaffy_2.24.0     gcrma_2.20.0          genefilter_1.30.0    
[16] mogene10stv1cdf_2.6.2 affy_1.26.1           Biobase_2.8.0        

loaded via a namespace (and not attached):
 [1] affyio_1.16.0        annotate_1.26.1      AnnotationDbi_1.10.2
 [4] Biostrings_2.16.9    DBI_0.2-5            grid_2.11.1         
 [7] IRanges_1.6.17       RSQLite_0.9-2        splines_2.11.1      
[10] survival_2.35-8     

Thanks for your consideration.

Harry Mangalam - Research Computing, NACS, Rm 225 MSTB, UC Irvine
[ZOT 2225] / 92697  949 824-0084(o), 949 285-4487(c)
MSTB=Bldg 415 (G-5 on <http://today.uci.edu/pdf/UCI_09_map_campus.pdf>
Vision: <http://goo.gl/WWdy>

More information about the Bioconductor mailing list