[BioC] ggbio: Separating lines between chromosomes with plotGrandLinear

Julian Gehring julian.gehring at embl.de
Wed Mar 26 13:49:32 CET 2014


The 'plotGrandLinear' or the respective 'autoplot' function of the
'ggbio' package make it easy to visualize all the chromosomes of a
genomes together.  For example:

autoplot(gr.snp, coord = "genome", geom = "point", aes(y = pvalue),
space.skip = 0.01) ## taken from 'example(plotGrandLinear'

produces a plot for all human chromosomes with vertical lines in the
middle of each chromosome.  Can one easily adapt this, in the way that
the vertical lines fall between the chromosomes?  This would be helpful
for distinguishing/separating them.

Best wishes

More information about the Bioconductor mailing list