Entering edit mode
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?