View source: R/Echidna_other_functions.R
clonofreq.trans.plot | R Documentation |
Plot a stacked barplot for clonotype counts grouped by transcriptome state(cell type).
clonofreq.trans.plot( all.contig.annotations, history, trans.names, top.n, y.limit, colors )
all.contig.annotations |
The output dataframe all_contig_annotation from function simulate.repertoire. |
history |
The dataframe history from simulate output. |
trans.names |
The names of cell types which are used in transcriptome.switch.prob argument in the simulation. |
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. |
a stacked barplot for clonotype counts grouped by transcriptome state(cell type).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.