Dear all,
I am quite new to limma and need to ask how to export the normalized data. I want to use them in graphical data exploration and presenatation. So, I do something like this (following the Mattick Lab post):
library(limma) targets <- readTargets('targets.txt') x <- read.maimages(targets, path = 'mydirectory', source = 'agilent', green.only =T) y <- backgroundCorrection(x,method = 'normexp') y <- normalizeBetweenArrays(y, method = 'quantile')
So I guess 'y' now contains the log2 expression data.
Question: how can I get them out of R and into a, say, tab-delimited text file?
I would be much obliged.
Thank you.
jd
Dear MacDonald,
Thanks for the reply. I wanted to extract the data in order to do boxplots of probes of my interest. But if that is possible within limma, advice is greatly appreciated.
jd
I am not sure exactly what you mean by 'boxplots of probes'. I could interpret that to mean that you want to make boxplots for individual probes, across (some or all) samples. Or I could interpret that to mean that you want to make boxplots for each sample, restricted to a set of probes.
There isn't any functionality in limma that I know of to make boxplots, but that's because it would be duplication of existing functionality elsewhere in R. Since I don't know exactly what you want, here are some suggestions. In these examples, I will use 'y' as the EList input object.
Boxplot of individual probes, all samples:
Boxplot of individual probes, separated by groups of samples:
Boxplot of individual samples, subsetted by a set of probes:
Does that help?
It helps. Thank you so much for the feedback.
jd