How to create vectors (makeVectorsAffyBatch) , using own cdf
1
0
Entering edit mode
osieman52 • 0
@osieman52-15026
Last seen 11 weeks ago
Netherlands

Dear Matthew (or anyone that can help me),

I am trying to create my own vectors using frmaTools. Therefore I am also using a custom cdf enviroment. But somehow I receive error's trying to create the vector. I'm sure that I use the "cdfname" the wrong way but can't find any examples on how to use it probarly.

I used it this way:

newVecs <- makeVectorsAffyBatch(files = CelFilenames, batch.id = rep(1:200, each = 5) ,cdfname = "hgu133plus2sharedprobescdf", verbose = TRUE)

The hgu133plus2sharedprobescdf is an enviorement, that works if I use it for the function :

Error in packageVersion(cdfname) :
Calls: makeVectorsAffyBatch -> packageVersion
Execution halted

Some how it can't find the package I load in, or I am using it the wrong way.

I hope that someone can help me out with this.

Osman

affymetrix microarrays frmatools altcdfenvs • 755 views
1
Entering edit mode
@matthew-mccall-4459
Last seen 3.7 years ago
United States

The error message is telling you that it is looking for the package version of your cdf and not finding one. This is likely because you created the cdf environment but not a package. makeVectorsAffyBatch wants a package so that it can check that when you run frma on new data it was read in using the same version of the same cdf. This was done to increase reproducibility and encourage those who develop new frmavectors to share their work with others via a package.

0
Entering edit mode

I see.what would you suggest me to do in order the fix this, because I would like the use this cdf since it has the probes I'm interested in. Is there a way to convert it in to a package so that makeVectorsAffyBatch` can accept it or is there another way to do this.

1
Entering edit mode

You would create an R package in the standard way. See for example:

And the BioC package guidelines: http://bioconductor.org/developers/package-guidelines/

Also any of the current frmavecs packages can serve as a useful template.