[BioC] Making median same for each sample

James W. MacDonald jmacdon at med.umich.edu
Mon Jan 10 18:51:18 CET 2011


Hi Viritha,

On 1/10/2011 12:20 PM, viritha kaza wrote:
> Hi Group,
> I am new to R statistics.

Welcome to the world of R!

> I have normalised microarray data which I want to make median same for each
> sample before performing statistical analysis for ttest or SAM test.Can I do
> this in R ? If possible could you please help me in writing the code for 15
> control and 23 treatment samples and have normalised data as a text file.

I think we need to modify your expectations. You will get much better 
help if you show some willingness to at least make an attempt to do 
something, show your code, and ask where you went wrong. Simply stating 
your goal and asking for somebody to give you the code is sub-optimal 
for two reasons:

1) Very few people will take the time to do something you haven't 
apparently taken the time to attempt yourself.

2) Being given some obscure code that does what you want will not help 
you climb the learning curve. You will be much better served by trying 
to get things done, and then if you fail, asking for help.

So here is a hint:

?sweep
?median

Also, read this:

http://cran.r-project.org/doc/manuals/R-intro.html

Best,

Jim


> Waiting for your response,
> 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

-- 
James W. MacDonald, M.S.
Biostatistician
Douglas Lab
University of Michigan
Department of Human Genetics
5912 Buhl
1241 E. Catherine St.
Ann Arbor MI 48109-5618
734-615-7826
**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues 



More information about the Bioconductor mailing list