plot_umap {HDStIM}R Documentation

Diagnostic UMAP plots showing the partitioning of cells into responding and non-responding groups by HDStIM

Description

Diagnostic UMAP plots showing the partitioning of cells into responding and non-responding groups by HDStIM

Usage

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

Arguments

mapped_data

Returned list from 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 = TRUE, 
                      umap_cells = 50, verbose = FALSE)

pu <- plot_umap(mapped_data, path = NULL, verbose = FALSE)


[Package HDStIM version 0.1.0 Index]