Produces the primary diagnostic plot: for each group, the DirichletProcess-discovered cluster means (mu) are shown as points with +/- 1 sigma error bars. The x-axis is cluster index, and groups are jitter-dodged so multiple groups can be compared. The y-axis (Mu) directly corresponds to average TCR distances and can be used to select a dianaHeight cutoff.

PlotClusterMeans(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")
PlotClusterMeans(dp)
} # }