tximport RSEM error
1
0
Entering edit mode
ribioinfo ▴ 100
@ribioinfo-9434
Last seen 3.6 years ago

Hi, I would like to import the tables of RSEM, using this command line:

txi.rsem = tximport(l, type = "rsem", reader = read_tsv)

I got this error:

Error in abundanceMat[, i] <- raw[[abundanceCol]] : 
  number of items to replace is not a multiple of replacement length

Could you help me?

Riccardo

tximport • 1.4k views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 20 hours ago
United States

What is 'l'? Can you show the top of one of the files:

readLines(l[1], n=10)
ADD COMMENT
0
Entering edit mode

I changed my answer as 'l' is a vector.

ADD REPLY
0
Entering edit mode

Hi, I found the problem there was a table that had a different number of rows. Now everything works.

Thank you.

Riccardo

ADD REPLY
0
Entering edit mode

Hi Riccardo, How did you solve your problem? I have the same situation with my data in which three of my files have a different number of rows. At this moment, I excluded them just to analyze those which have the same number of rows.

Thanks for your help!

Rodolfo

ADD REPLY

Login before adding your answer.

Traffic: 668 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