ggbio ideogram fails to render zoomed Genomic Ranges
0
0
Entering edit mode
7.7 years ago

Hi

I am trying to highlight an ideogram at specific region, so here is my code

library(ggplot2)
library(ggbio)
library(GenomicRanges)    

plotIdeogram(genome = "hg19", subchr = "chr1",which = GRanges(seqnames = "chr1", IRanges(start = 1,end = 1e7)))

This plot the ideogram but doesn't highlight the provided Genomic Range. I tried to play with color and fill but it still fails to render. Any ideas ?

ggplot ggbio R bioconductor • 2.0k views
ADD COMMENT
2
Entering edit mode

I managed to replicate this error but it was fixed as soon as I updated the R packages installed.

ADD REPLY
0
Entering edit mode

Thanks so much. Yes it was a bug.

ADD REPLY

Login before adding your answer.

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