non-finite location and/or size for viewport (Gviz error)
0
1
Entering edit mode
9.2 years ago

Hi,

I am unable to use the Gviz genetrack. When I try, it gives me the error

Error in grid.Call.graphics(L_setviewport, vp, TRUE) :
non-finite location and/or size for viewport

Details are here:

> myGene<-getGene(cuff_data,myGeneId)
> head(features(myGene))
seqnames start end width strand source type score phase gene_id gene_version gene_name gene_source
1 4 11008666 11013860 5195 + ensembl gene NA NA AT4G20400 1 JMJ14 ensembl
2 4 11008666 11013842 5177 + ensembl transcript NA NA AT4G20400 1 JMJ14 ensembl
3 4 11008666 11008818 153 + ensembl exon NA NA AT4G20400 1 JMJ14 ensembl
4 4 11008957 11009045 89 + ensembl exon NA NA AT4G20400 1 JMJ14 ensembl
5 4 11009004 11009045 42 + ensembl CDS NA 0 AT4G20400 1 JMJ14 ensembl
6 4 11009004 11009006 3 + ensembl start_codon NA 0 AT4G20400 1 JMJ14 ensembl
gene_biotype isoform_id transcript_version transcript_name transcript_source transcript_biotype exon_number
1 protein_coding <NA> NA <NA> <NA> <NA> NA
2 protein_coding AT4G20400.1 1 JMJ14 ensembl protein_coding NA
3 protein_coding AT4G20400.1 1 JMJ14 ensembl protein_coding 1
4 protein_coding AT4G20400.1 1 JMJ14 ensembl protein_coding 2
5 protein_coding AT4G20400.1 1 JMJ14 ensembl protein_coding 2
6 protein_coding AT4G20400.1 1 JMJ14 ensembl protein_coding 2
exon_id exon_version protein_id protein_version
1 <NA> NA <NA> NA
2 <NA> NA <NA> NA
3 AT4G20400.1.exon1 1 <NA> NA
4 AT4G20400.1.exon2 1 <NA> NA
5 <NA> NA AT4G20400.1 1
6 <NA> NA <NA> NA
> genetrack<-makeGeneRegionTrack(myGene)
> plotTracks(genetrack)
Error in grid.Call.graphics(L_setviewport, vp, TRUE) :
non-finite location and/or size for viewport

Has any one faced the same problem?

Thanks

RNA-Seq R • 3.8k views
ADD COMMENT

Login before adding your answer.

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