I tried the suggestions A: Create custom IdeogramTrack (Gviz) to create an Ideogram fora scaffold my custom genome, but I can't make it work.
My bands dataframe (bands.txt) looks like this:
Then I'm use the following for ideogram:
itrack <- IdeogramTrack(genome="X",chromosome="scaffold_22",name="scaffold_22",bands=bands)
But in my final plot the scaffold does not completely show up (lining of middle part is not there).
See plot here: https://imgur.com/a/oAyFX
Anyone knows how to show the complete scaffold as a bar? If possible, I would also like to remove the word "Chromosome" before "scaffold_22" in the plot.
Any help would be much appreciated.