Re: [R] Please help....normalization by the median of some control genes

2012-08-24 Thread Roebuck,Paul L
On 8/23/12 7:37 AM, "David Lyon" wrote: > Can someone show me some code to do normalization by the median of some > control genes for the example below? > Many Many Thanks in advance > > > This strategy selects a subset of genes (called ³control genes²) and makes the > median of their data distri

Re: [R] Please help....normalization by the median of some control genes

2012-08-23 Thread arun
HI, You could try: limma package: normalizeWithinArrays() A.K. - Original Message - From: David Lyon To: "r-help@r-project.org" Cc: Sent: Thursday, August 23, 2012 8:37 AM Subject: [R] Please helpnormalization by the median of some control genes Can someone show me so

Re: [R] Please help....normalization by the median of some control genes

2012-08-23 Thread Rui Barradas
Hello, I'm not sure I understand what you want. You want the medians to be "similar"? Why not equal? (The code below assumes ids represent genes.) d <- read.table(text=" id1id2id3 control10.80.70.6 control20.60.20.4 probe10.30.20.5 probe

[R] Please help....normalization by the median of some control genes

2012-08-23 Thread David Lyon
Can someone show me some code to do normalization by the median of some control genes for the example below? Many Many Thanks in advance This strategy selects a subset of genes (called “control genes”) and makes the median of their data distribution similar across arrays.         id1    id2