By default links are only drawn between adjacent genomes. In most cases, computing all links is slow and drawing all links is slow and usually way too messy to be informative.
adjacent_only=TRUE is implemented as flag for layout_links, however, currently cannot be modified because gggenomes only passes through arguments to layout_seqs. Internally, there is already a args_links parameter, but it is not yet used. Related to #69. Will need to modify gggenomes API for layout args to make this work properly.
Also, geom_link() should also get an adjacent_only flag, which if set to FALSE should throw an error if the layout wasn't computed with adjacent_only=FALSE in the first place.
By default links are only drawn between adjacent genomes. In most cases, computing all links is slow and drawing all links is slow and usually way too messy to be informative.
adjacent_only=TRUE
is implemented as flag forlayout_links
, however, currently cannot be modified becausegggenomes
only passes through arguments tolayout_seqs
. Internally, there is already aargs_links
parameter, but it is not yet used. Related to #69. Will need to modify gggenomes API for layout args to make this work properly.Also,
geom_link()
should also get anadjacent_only
flag, which if set to FALSE should throw an error if the layout wasn't computed withadjacent_only=FALSE
in the first place.