Get the number of unique variants in each clone in a vector and the barplot. The first item in the output is the vector representing the numbers of unique variants, the second item is the barplot.

get.n.node.plot(igraph.index.attr, clonotype.select, y.limit)

Arguments

igraph.index.attr

The output "igraph.index.attr" list from simulation output.

clonotype.select

The index of the clones to be shown. If missing, all clones will be included.

y.limit

The upper limit for y axis in the plot.

Value

the number of unique variants in each clone in a vector and the barplot. The first item in the output is the vector representing the numbers of unique variants, the second item is the barplot.