Skip to content

muta.gle

Library to draw mutation plots.

Author: Francois Tonneau

List of subroutines:

mutaplot: draw a mutation plot.

mutagrid: draw gridlines for a mutation plot.

==========

Each line of the data file for a mutation plot should read as:

row, column, mutation count, mutation types (with underscores, no spaces).

For example:

13 37 2 nonsense missense

14 59 3 nonsense missense splice_site

28 97 1 nonsense

Successive fields are blank-separated.

==========

Aside from the name of the data file, 'mutaplot' requires a linecolor$

parameter which must be a valid color or 'cell'. In the former case, cell

borders will be drawn in the color indicated; in the latter case, borders

will be made invisible by drawing them with the current fill color.

sub mutaplot filename$ linecolor$ linewidth
sub mutagrid linecolor$ linewidth