Plot a stacked barplot for clonotype counts grouped by isotype.

clonofreq.isotype.plot(all.contig.annotations, top.n, y.limit, colors)

Arguments

all.contig.annotations

The output dataframe all_contig_annotation from function simulate.repertoire.

top.n

The top n abundant clones to be shown in the plot. If missing, all clones will be shown.

y.limit

The upper limit for y axis in the plot.

colors

A named character vector of colors, the names are the isotypes. If missing, the default has 11 colors coresponding to the default isotype names.

Value

a stacked barplot for clonotype counts grouped by isotype