I am working on a gene expression microarray dataset, each sample has been taking from animal A and animal B on the same type of microarray.

I would like to take the mean of these columns and create a dataset with columns with data which are means of the corresponding rows of A and B

For example:

TissueExpressionA <- HTissue[1:22284, c(29, 39, 57, 59, 63, 69, 71, 73, 77, 79, 83, 89, 99, 117, 119, 121, 123, 125, 137, 145, 159)]
TissueExpressionB <- HTissue[1:22284, c(30, 40, 58, 60, 64, 70, 72, 74, 78, 80, 84, 90, 100, 118, 120, 122, 124, 126, 138, 146, 160)]


I would like

TissueExpressionC <- HTissue[1:22284, c[mean(29,30), mean(39,40), mean(57,58) ... mean(159,160)]


I hope that makes sense.

If you know of any other method of merging data sets like this any help would be appreciated.

Michael Budnick
Graduate Researcher
St. John's University

	[[alternative HTML version deleted]]

