Making median same for each sample
1
0
Entering edit mode
viritha kaza ▴ 580
@viritha-kaza-4318
Last seen 10.3 years ago
Hi Group, I am new to R statistics. 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. Waiting for your response, Thanks, Viritha [[alternative HTML version deleted]]
Microarray Microarray • 774 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 12 hours ago
United States
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
ADD COMMENT
0
Entering edit mode
Hi Jim, Thanks for the helping me to start with these functions.I will look into it and try writing code by myself first. Thanks, Viritha On Mon, Jan 10, 2011 at 12:51 PM, James W. MacDonald <jmacdon@med.umich.edu>wrote: > 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@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 > [[alternative HTML version deleted]]
ADD REPLY

Login before adding your answer.

Traffic: 1012 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6