Dataframe with clonotype counts grouped by transcriptome state(cell type).

clonofreq.trans.data(all.contig.annotations, history, trans.names, top.n)

Arguments

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.

Value

a dataframe with clonotype counts grouped by transcriptome state(cell type).