This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to create an AffyBatch object using a data matrix?

Hi everyone,

I have previously created an ExpressionSet object using a data matrix as input like this:

ExpressionSet(assayData = dat)

Then I usually use phenoData and featureData to set the sample and gene level annotation.

I wanted to know if it is possible to create an AffyBatch object in a similar manner?

Thanks!

affy affybatch matrix

1 answer

Could you explain better what are you trying to achieve? AffyBatch extends eSet, but it is really particularly used for batch-affymetrix data, so that the annotation etc come from affy CDF-files. And its particular structure is such that all the affy-related information are stored (pm, mm, probes, etc) insdie it. So unless you start from affy-CELL files, I am not seeing a particular need for AffyBatch objects (and it might not be possible also). I'm guessing that you have a data-matrix and you would like to use some functions from affy-batch processing protocol. In that case, check that the function that you need might work directly on eSet (rather than AffyBatch)

Thanks - I will create an eSet instead. If you move your comment to an answer, I will be happy to accept it.

the comment moved to answer now

Log in to answer this question.