plotAssignmentScores | R Documentation |
plot assignment scores on a separate scatterplot for each cell type
plotAssignmentScores( embedding, scores, classification.tree, parent.node = "root", build.panel = T, n.col = NULL, n.row = NULL, title.size = 12, ... )
scores |
assignment scores. Can be obtained with 'assignCellsByScores' |
classification.tree |
cell type hierarchy represented by graph. Part of 'clf_data' object from 'getClassificationData' |
parent.node |
cell type, which subtypes' scores must be plotted |
build.panel |
combine individual plots to a single panel |
n.col |
number of columns in the panel |
n.row |
number of rows in the panel |
title.size |
font size for title of individual plots. Used only if build.panel==T |
... |
Arguments passed on to |
panel of plots if 'build.panel==T' or 'plot.list' otherwise
clf_data <- getClassificationData(cm, marker_path) ann_by_level <- assignCellsByScores(graph, clf_data) plotAssignmentScores(t_sne, ann_by_level$scores$l1, clf_data$classification.tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.