**310**wrote:

Hi,

I'd like to use limma to look for probes that correlation strongly and with a large slope (positive or negative), based on a linear variable. I've scanned the Limma users guide but couldn't find such an example.

design <- model.matrix(~0 + df$AGE) fit <- lmFit(exprs(lumi.norm), design) fit <- eBayes(fit) topTable(fit, adjust.method="BH", number=10, p.value=0.01, sort.by="M")

The above code shows what I've done so far, which is provide the design of the model with a linear variable. I was wondering if this was the correct way to do it? If so, how would i filter for strength of correlation of size of slope?

Is there a better way to do it?

Thanks!

**50k**• written 4.1 years ago by andrew.j.skelton73 •

**310**