Skip to contents

Extracts data frames that can be used to create a Jellyfish plot.

Usage

extract_tables_from_clonevol(y, model = 1)

Arguments

y

A ClonEvol object

model

The model to extract. Defaults to 1

Value

A named list with three data frames: samples, phylogeny, and compositions

Examples

if (requireNamespace("clonevol", quietly = TRUE)) {
  # Run ClonEvol. Check the ClonEvol documentation for details.
  y <- infer.clonal.models(...)

  # Plot the results
  extract_tables_from_clonevol(y, model = 1) |>
    jellyfisher()
}