plot_next_mutations: Plot the next most probable mutational events

View source: R/plot_fns.R

plot_next_mutationsR Documentation

Plot the next most probable mutational events

Description

Given a particular tree and a Mutual Hazard Network, this function finds the next most probable mutational events.

Usage

plot_next_mutations(
  n,
  tree_df,
  Theta,
  mutations = NULL,
  tree_label = NULL,
  top_M = 5
)

Arguments

n

Number of mutational events.

tree_df

A tree in data frame format.

Theta

An n-by-n matrix representing a Mutual Hazard Network

mutations

A list of mutation names, which must be unique values. If no names are given, then the mutation IDs will be used.

tree_label

The title of the tree (Default: NULL).

top_M

Number of most probable mutational events to plot (Default: 5).


cbg-ethz/TreeMHN documentation built on Jan. 29, 2024, 1:29 p.m.