[BioC] converting probe to gene level

Wei Shi shi at wehi.EDU.AU
Wed Jan 12 23:55:50 CET 2011


Hi Viritha:

	You do not need a function, but the code below should do this:

For array1: 
tapply(x$array1, factor(x$genes), mean) # x is a data frame containing the data in your example.

Cheers,
Wei

On Jan 13, 2011, at 8:38 AM, viritha kaza wrote:

> Hi Group,
> Is there any function which would help in converting data from probe level
> to gene level by averaging the expression of all the probes corresponding to
> a gene.
> For eg:
>                         array1      array2
> probe 1 Gene 1    2                 4
> probe 2 Gene 1    4                 3
> probe 3 Gene 2    5                 4
> 
> result:
>            array1 array2
> Gene1    3           3.5
> Gene 2   5           4
> Could any one give some ideas to perform this?
> Thanks,
> Viritha
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor


______________________________________________________________________
The information in this email is confidential and intend...{{dropped:6}}



More information about the Bioconductor mailing list