Hello friends, please help me
i entered these codes, but whenever i use the output as input to geworkbench, it says that" could not parse line #1, line should have 12 columns but has 13 columns, which need manually add a tab at the beggining of the header to make it a valid RMA format"
library(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.exprs(exp, file="output.txt", sep="\t")
where i did wrong please??
It is generally considered bad form to post the same question to two different sites without letting folks know you are doing so. I just answered your question on the biostars site.
Hello sa63_tanha!
It appears that your post has been cross-posted to another site: Please see: https://www.biostars.org/p/150455/
This is typically not recommended as it runs the risk of annoying people in both communities.
sorry Sean, i thought here is more specific to R then i asked my question here too
The question would have been fine here, too, but not both.