Get information about somatic hypermutation in the simulation. This function return a barplot showing the average mutation.

get.avr.mut.plot(igraph.index.attr, history, clonotype.select, level, y.limit)

Arguments

igraph.index.attr

A list "igraph.index.attr" from the simulation output.

history

A dataframe "history" from the simulation output.

clonotype.select

The selected clonotype index, can be the output of the function "select.top.clone".

level

Can be "node" or "cell". If "node", the function will return average mutation on unique variant level. Otherwise it will return on cell level.

y.limit

The upper limit for y axis in the plot.

Value

a barplot showing the average mutation per node (same heavy and light chain set) or per cell.