Learn R Programming

celda (version 0.0.0.9000)

visualizeModelPerformance.celda_CG: Visualize the performance of celda_CG models grouped by L and K

Description

Plot the performance of a list of celda_CG models returned from running celda function. For each number of gene clusters L (cell clusters K), plot the performance of each number of cell clusters K (gene clusters L).

Usage

# S3 method for celda_CG
visualizeModelPerformance(celda.list,
  method = "perplexity", title = "Model Performance (All Chains)",
  log = FALSE)

Arguments

celda.list

A list of celda_CG objects returned from celda function

method

One of "perplexity" or "loglik"

title

Title for the visualizeModelPerformance

log

Set log to TRUE to visualize the log(perplexity) of Celda_CG objects.