View source: R/cell_annotation.R
cell_annotation_diagnostic_plots_fn | R Documentation |
Three list and character vector columns are added to cell_annotation
:
score_heatmaps
: heatmaps of per-cell label scores created for each clustering (as column annotation)
(details).
Generated by SingleR::plotScoreHeatmap()
marker_heatmaps
: NULL
if cell_annotation$train_params$de
is not "de"
, otherwise heatmap for each label
containing top upregulated markers from pairwise t-tests
(details).
Number of top markers is specified in cell_annotation$diagnostics_params$heatmap_n_top_markers
delta_distribution_plot
: violin plots (in one figure / object) of per-cell deltas for each label.
Deltas are differences between the score for the assigned label and the median across all labels for each cell
(details)
Columns with output PDF files are named as score_heatmaps_out_file
etc.
cell_annotation_diagnostic_plots_fn(
cell_annotation,
cell_data,
sce,
base_out_dir,
do_heatmaps = FALSE,
cluster_cols_regex = "^cluster_"
)
cell_annotation |
(input target) A |
cell_data |
(input target) A |
sce |
A |
base_out_dir |
A character scalar: path to output directory under which will be for each reference dataset its diagnostic plots saved in. |
do_heatmaps |
A logical scalar: if |
cluster_cols_regex |
A character scalar: regex to match columns in |
A tibble
. Output target: cell_annotation_diagnostic_plots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.