thank you i am working with citrus
i entered:
> library(affy)
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following object is masked from ‘package:stats’:
xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, as.vector, cbind, colnames,
do.call, duplicated, eval, evalq, Filter, Find, get, intersect,
is.unsorted, lapply, Map, mapply, match, mget, order, paste, pmax,
pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce, rep.int,
rownames, sapply, setdiff, sort, table, tapply, union, unique,
unlist, unsplit
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
> mas5.eset <- mas5calls(affy.data)
Error in mas5calls(affy.data) :
error in evaluating the argument 'object' in selecting a method for function 'mas5calls': Error: object 'affy.data' not found
> affy.data = ReadAffy()
> mas5.eset <- mas5calls(affy.data)
Getting probe level data...
Computing p-values
Error in FUN(X[[i]], ...) : NA/NaN/Inf in foreign function call (arg 2)
>
I have never worked with citrus and it seems weird to have any NAs in your data, as if im not mistaken probably this is your error about-so firstly, after the error could you type the function traceback() to see in more detail the output ?
Also, have you used another preprocessing algorithm like rma/gcrma and then use the mas5calls ?
Moreover, type class(affy.data) to confirm just the output of ReadAffy.