Multiply dye-swaps
1
0
Entering edit mode
Dion Lepp ▴ 30
@dion-lepp-2369
Last seen 9.6 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20070906/ 27ec3a5a/attachment.pl
• 561 views
ADD COMMENT
0
Entering edit mode
Ana Conesa ▴ 130
@ana-conesa-2246
Last seen 9.6 years ago
Hi D, Try this: T <- rep(c(rep(1, nrow(M)), rep(-1, nrow(M))), ncol(M)/2) Ana ---- Mensaje Original ---- De: spam56 at gto.net Para: bioconductor at stat.math.ethz.ch Asunto: RE: [BioC] Multiply dye-swaps Fecha: Thu, 6 Sep 2007 12:41:30 -0400 >Hi all, > >I have a simple problem that I can't seem to figure out. I have my >normalized log-ratios (M) in an array, however there are dye-swaps >throughout. I would like to export the data to a table to manipulate >outside of R, but would like to first correct the M values for the >dye >swaps. I realize I have to multiply the dye-swap columns by -1, but >I'm and >R newbie and can't come up with a some simple R code to do this. >There are >28 slides in the data set. I've tried this, which seemed to make >sense to >me, but doesn't give the result I expect: > >T<-c(-1,1,-1,1,-1,1,-1,1,-1,1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,-1,1,-1,1 >,-1,1) >M.cor<-T*M > >#where M is the matrix of M values. > >Can anybody with more R experience than I have help me? > >Thanks, > >D > > [[alternative HTML version deleted]] > >_______________________________________________ >Bioconductor mailing list >Bioconductor at stat.math.ethz.ch >https://stat.ethz.ch/mailman/listinfo/bioconductor >Search the archives: http://news.gmane.org/gmane.science.biology.info >rmatics.conductor
ADD COMMENT

Login before adding your answer.

Traffic: 580 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