Question: Error in grid.Call.graphics(L_setviewport, vp, TRUE) : non-finite location and/or size for viewport
0
gravatar for nasim.zeeshan25
3.6 years ago by
Korea, Republic Of
nasim.zeeshan250 wrote:

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

myposts • 3.3k views
ADD COMMENTlink modified 3.5 years ago by Biostar ♦♦ 20 • written 3.6 years ago by nasim.zeeshan250
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1589 users visited in the last hour