Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recombination Blocks Colour #20

Open
esteinig opened this issue Aug 12, 2016 · 1 comment
Open

Recombination Blocks Colour #20

esteinig opened this issue Aug 12, 2016 · 1 comment

Comments

@esteinig
Copy link

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]))
@katholt
Copy link
Owner

katholt commented Aug 12, 2016

Thanks for this. Could you submit the modified code as a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants