draw_coseq_run: Displays clustering results and quality

View source: R/fct_coseq.R

draw_coseq_runR Documentation

Displays clustering results and quality

Description

Displays clustering results and quality

Usage

draw_coseq_run(clustering_run, plot = "ICL")

Arguments

clustering_run

result of a coseq run

plot

plot to display, either Integrated Complete Likelihood, or barplots of the posterior probabilities for the clustering. Value must be "ICL" or "barplots".

Value

plot describing the quality of the clustering process

Examples

data("abiotic_stresses")
genes <- abiotic_stresses$heat_DEGs
clustering <- DIANE::run_coseq(conds = c("C", "H", "SH", "MH", "SMH"), 
data = abiotic_stresses$normalized_counts, genes = genes, K = 6:9)
DIANE::draw_coseq_run(clustering$model, plot = "barplots")
DIANE::draw_coseq_run(clustering$model, plot = "ICL")

OceaneCsn/DIANE documentation built on Jan. 10, 2024, 6:43 p.m.