[BioC] "aggregate" function in R give non-unique values
Martin Morgan
mtmorgan at fhcrc.org
Thu Sep 8 00:06:20 CEST 2011
On 09/07/2011 02:49 PM, Wendy Qiao wrote:
> Hi all,
>
> When I analyse my microarray data, I used "aggregate" to calculate the mean
> of the probes that have the same gene symbols. Following is the code that I
> use:
>
> data.lumi.aggre<-aggregate(data.lumi,by=list(data.lumi$SYMBOL),FUN=mean)
Hi Wendy -- can you provide a simple reproducible example that we can
copy from your email and paste into our R session to replicate the
problem? Also, can you provide the output of the
sessionInfo()
command?
Martin
>
> I think that "aggregate" function gives unique gene symbols; however in my
> results, multiple rows have the same gene symbols. I wonder if anybody
> encountered the same problem. Is this a bug in R? How could I solve it?
>
> Thank you,
> Wendy
>
> [[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
--
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109
Location: M1-B861
Telephone: 206 667-2793
More information about the Bioconductor
mailing list