Companion to PlotClusterMeans. Shows the proportion of data points assigned to each DirichletProcess cluster as a dodged bar chart, one bar per group. Clusters with high mixing weight and low mean distance identify well-supported clonotype families.

PlotMixingProportions(dpResult, verbose = FALSE)

Arguments

dpResult

A tcrDirichletResult object from DirichletClusterAnalysis.

verbose

Logical. Default FALSE.

Value

A ggplot2 object.

Examples

if (FALSE) { # \dontrun{
dp <- DirichletClusterAnalysis(seuratObj, "TRA_fl", "cDNA_ID")
PlotMixingProportions(dp)
} # }