[BioC] Sample names with ExprSet

Rafael A. Irizarry ririzarr at jhsph.edu
Mon May 12 14:48:10 MEST 2003


the sure way is

colnames(l3hRMA at exprs) <- c(1:6) #1:6 is my choice you put what you want
rownames(l3hRMA at phenoData@pData) <- c(1:6)

it should be as simple as 

sampleNames(l3hRMA) <- c(1:6)

but this isnt implemented yet.


On Mon, 12 May 2003, cmprobst wrote:

> Dear all,
> 
> This a very simple question: 
> 
> I am using affy to analyze some arrays, and I want to do mva plots.
> 
> I am trying to change the hybridizations names in the first row of the
> exprSet, as I dont want to plot the PATH to my CEL files, but just a
> legend.
> 
> I have tried to change these names by accessing the elements of the
> first row in the exprset, but I dont get them.
> 
> >exprs(L3hRMA)[0,]
>      /home/Genechip/LA_03h_02.CEL /home/Genechip/LA_03h_CBA3_01.CEL
>      /home/Genechip/LM_03h_02.CEL /home/Genechip/LM_03h_CBA3_01.CEL
>      /home/Genechip/MF_03h_02.CEL /home/Genechip/MF_03h_CBA3_01.CEL
> 
> > exprs(L3hRMA)[0,1]
> numeric(0)
> 
> 
> So, what is missing?
> 
> TIA 
> 
> Christian
> 
> _______________________________________________
> 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