Description Usage Arguments Examples
This function plots a heat map indicating the increase of gap statistics as the number of cluster (k) increases by varying the number of top principal components (nPC) used. The best set and alternative sets of cell groups are indicated by 'B' and 'X' respectively. The best set is determined based on classification error summarized in DecisionTree().
1 | PlotSummary(gap.gain, summary.rpart, markers.all, out.dir)
|
gap.gain |
a numeric matrix for the increase of gap statistic from k-1 to k. Columns are the number of clusters (k = 2 to k.max) and rows are the number of top principal components (nPC). For example, the first column is the increase of gap statistic from k=1 to k=2 for each nPC (row). |
summary.rpart |
a numberic matrix with overall classification error summarized for each n split (column) and each candidate set (row). This is usually the output return from DecisionTree(). |
markers.all |
a list of marker gene tables for candidate sets. This is usually the list returned from ComputeMarkers(). |
out.dir |
the path for output directory |
1 | PlotSummary(gap.gain, summary.rpart, markers.all, out.dir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.