Hello,
I need a tab-delimited text format in which the first column is probesets, the header are array name and in between there are amounts, for example with 12 array, there are 13 columns that the first is prob sets but when I did like below, a messy file was produced that can't be used as tab-delimited and nothing is arranged alike I described
(affy)
> data <- ReadAffy()
> exp <- rma(data)
Background correcting
Normalizing
Calculating Expression
> control <- grep("AFFX",rownames(exp))
> exp <- exp[-control,]
> e <- exprs(exp)
> e <- apply(e,1,function(x) x-median(x))
> e.scaled <- t(scale(t(e),center=FALSE))
write.table(e.scaled,file="scaled.output.txt",sep="\t")
What happened please?
show here output of
thank Deepak, a long R console that I copied a bit of
here instead of probes, arrays are in column one and no thing is like a tab-delimited format
Perform these 3 commands and show the output:
thank you,
and the output of
head(e.scaled)
was which I copied and pasted in previous comment