Entering edit mode
Dr Gyorffy Balazs
▴
320
@dr-gyorffy-balazs-619
Last seen 10.3 years ago
Hi All,
Lets say, we have a table, and want to divide the values with the row
averages:
mytable <- array(1:20, dim=c(4,5))
averages <- apply(mytable, 1, mean)
result <- mytable/averages
How can I make this in a way in which each probe is divided by an
average which
was calulated by all probes excluding the actual probe?
Thank you:
Balazs
-------------------------
Bal?zs GY?RFFY MD, PhD
Children's Hospital Boston Informatics Program
Harvard-MIT Health Sciences and Technology
300 Longwood Avenue, Boston, USA
Enders 150.6
Tel: +1 617 919 2654
Email: zsalab2 at yahoo.com
Nicht vergessen! Am Sonntag, den 11. Mai ist Muttertag
Geschenkideen, Gedichte & mehr: www.yahoo.de/muttertag