plot_exprs: Diagnostic plots showing individual marker distribution...

View source: R/plot_exprs.R

plot_exprsR Documentation

Diagnostic plots showing individual marker distribution before and after mapping by HDStIM

Description

Diagnostic plots showing individual marker distribution before and after mapping by HDStIM

Usage

plot_exprs(mapped_data, path = NULL, verbose = FALSE)

Arguments

mapped_data

List output of the HDStIM function.

path

Path to the folder to save figures generated by this function.

verbose

Logical. To make function more verbose. Default is FALSE.

Value

A list of ggplot objects. If the path is not NULL, PNG files of the plots are saved in the specified folder.

Examples

mapped_data <- HDStIM(chi11$expr_data, chi11$state_markers,
                  chi11$cluster_col, chi11$stim_label,
                  chi11$unstim_label, seed_val = 123, umap = FALSE, umap_cells = NULL,
                  verbose = FALSE)

pe <- plot_exprs(mapped_data, path = NULL, verbose = FALSE)

niaid/HDStIM documentation built on Oct. 15, 2023, 4:43 p.m.