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]]

