mutually add a tab in the beggining of the header to make it a valid RMA format
0
0
Entering edit mode
Angel ▴ 40
@angel-7981
Last seen 7.1 years ago
Berlin

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??

 

software error probe affy RMA • 1.5k views
ADD COMMENT
1
Entering edit mode

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. 

ADD REPLY
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

sorry Sean, i thought here is more specific to R then i asked my question here too

ADD REPLY
0
Entering edit mode

The question would have been fine here, too, but not both.

ADD REPLY

Login before adding your answer.

Traffic: 368 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6