Archive for July 30th, 2009

July 30, 2009

How-to: combinations of covariates using Ruby

I work with people who generate a lot of microarray data. One question that they often ask is: can we find those genes with a two-fold or more change in median expression under two or more different conditions?

For example, let’s say that we have 3 conditions: “normal”, “adenoma” and “cancer”. That gives us 3 pairwise comparisons: normal-adenoma, normal-cancer and adenoma-cancer. Here’s a Ruby solution to the problem.
Read the rest…

Follow

Get every new post delivered to your Inbox.

Join 1,464 other followers