plot_pathways: Plot most probable pathways of a given length computed from a...

View source: R/plot_fns.R

plot_pathwaysR Documentation

Plot most probable pathways of a given length computed from a Mutual Hazard Network

Description

This function takes a Mutual Hazard Network as input and plot the most probable mutational pathways of a given length.

Usage

plot_pathways(Theta, mutations = NULL, n_order = 4, top_M = 10, log2 = TRUE)

Arguments

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.

n_order

The length of the pathways (Default: 4).

top_M

Number of most probable pathways to plot (Default: 10).

log2

A boolean flag indicating whether the x axis is scaled by log2.

Author(s)

Xiang Ge Luo


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