[BioC] how do I add pheno data after making AffyBatch object

Rafael A. Irizarry ririzarr at jhsph.edu
Tue Feb 3 23:25:33 MET 2004


yes you can. 

first creat a phenodata object using read.phenoData (read the help file
for more info), for example,

pd <- read.phenoData(filename="pheno.txt")

and then simply type

phenoData(abatch) <- pd

-r

here is an example of a pheno.txt file:

            label otherstuff RNA
Empty           0          0   0
NoRNA           1          1   0
NotLabeled      0          1   1
BA_polyGRNA     1          1   1


On Tue, 3 Feb 2004, Hao Liu wrote:

> Dear All:
> 
> I used AffyBatch(), and made an AffyBatch object named A by getting all
> the CEL files in the directory (which has about 150 cel files). However, I
> wonder if I can add pheno object to this object after its creation.
> 
> And, if possible, where can I get some good tutorials on using Affy? Most
> materials I found are hard to understand, I need some step by step or
> examples. I am new in R and Bioconductor, please help.
> 
> Thanks
> 
> Hao Liu, Ph. D
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
>



More information about the Bioconductor mailing list