Question: gviz: error when plotting BiomartGeneRegionTrack with just.group="above"
0
gravatar for tonja.r
4.3 years ago by
tonja.r40
United Kingdom
tonja.r40 wrote:

I want the annotation of the genes/transcripts appear above the transcripts and not on the left or right.

ensembl = useMart(biomart="ENSEMBL_MART_ENSEMBL", host="grch37.ensembl.org", path="/biomart/martservice", dataset="hsapiens_gene_ensembl")

biomTrack <- BiomartGeneRegionTrack(genome = "hg19", chromosome = "chr12", start = 57929124, end =58122355,name = "ENSEMBL", biomart = ensembl,transcriptAnnotation = "symbol")

displayPars(biomTrack) = list(showId=TRUE,stackHeight=0.5,background.title="transparent",fontcolor.title="black",just.group="above")

plotTracks(list(biomTrack), from = 57929124, to = 58122355) 

 

Unfortunately, I get this error:

Fehler in data.frame(txt = labs, x = cx, y = cy, stringsAsFactors = FALSE) :
  arguments imply differing number of rows: 109, 108

I do not get an error if I do not specify just.group parameter.
How can I put the annotations to appear above the transcripts without an error?

gviz • 958 views
ADD COMMENTlink modified 4.3 years ago by Robert Ivanek610 • written 4.3 years ago by tonja.r40
Answer: gviz: error when plotting BiomartGeneRegionTrack with just.group="above"
1
gravatar for Robert Ivanek
4.3 years ago by
Robert Ivanek610
Switzerland
Robert Ivanek610 wrote:

Thanks for pointing out this issue. The next devel release 1.11.16 should contain the fix.

 

ADD COMMENTlink written 4.3 years ago by Robert Ivanek610
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 16.09
Traffic: 197 users visited in the last hour