plot_K_Fisher {HDStIM}R Documentation

Diagnostic plots explaining K-means clustering and Fisher's exact test carried out by HDStIM

Description

Diagnostic plots explaining K-means clustering and Fisher's exact test carried out by HDStIM

Usage

plot_K_Fisher(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 NULL by default.

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)

pk <- plot_K_Fisher(mapped_data, path = NULL, verbose = FALSE)

[Package HDStIM version 0.1.0 Index]