Skip to content

Recombination Blocks Colour #20

@esteinig

Description

@esteinig

Hey Kat,

thanks very much for your beautiful plotting functions!

I am using Gubbins and wanted to change the colour of recombination blocks in the plot - perhaps other users might want to do this as well?

There is a minor change that accomplishes this very easily by adding a fourth colour ("red", "blue") column to the block file and adding the following to the getLayout function in Line 321:

319       x1 <- blocks[i,2]
320       x2 <- blocks[i,3]
321       lines(c(x1,x2),c(y,y), lwd=blwd,lend=2, col=as.character(blocks[i, 4]))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions