Ballgown plotTranscripts function
Entering edit mode
7.3 years ago
Matina ▴ 230

Hi everyone,

I am using ballgown to measure transcript abundance in my RNA-seq samples. I want to plot the transcripts of a gene using the plotTranscript function of the ballgown package.

When I try to run:

plotTranscripts(gene='DDX11L1', gown=bg, samples='sample3_output',meas='FPKM', colorby='transcript', main='transcripts from gene DDX11L1: sample 3, FPKM')

I get this error:

Error in seq.default(min(gtrans$start), max(gtrans$end), by = 1) :
'from' cannot be NA, NaN or infinite
In addition: Warning messages:
1: In min(gtrans$start) : no non-missing arguments to min; returning Inf
2: In max(gtrans$end) : no non-missing arguments to max; returning -Inf

I have no clue about what it means. Until that point everything was executed without errors/warnings.

Any help would be much appreciated.

ballgown trancript R plot RNA-Seq • 2.8k views
Entering edit mode


I have not used this s/w but it seems that there are missing values in the Transcript Strt/End coords. Or/ also somehow End -Strt is not being equal to/ > 1.

I suggest that if you have the result file in text format, then grep out the lines for your gene and check if the Strt, End pos. & FPKM values seem fine.

Also, a long shot, but also check if you have not switched between genome releases (GRCh37 to GRCh38 or vice versa) at any point. Cant be more specific as I have not used ballgown but the above checks are a good starting point.

Entering edit mode

Thanks a lot for the reply Amitm.

The solution is a lot simpler and is basically my mistake. Instead of the gene name I had to use the ensembl gene_id. That's why it coudnt find the ranges.


Login before adding your answer.

Traffic: 1351 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6