progressionDAG_from_igraph: Define the progression of mutations from an 'igraph' object

View source: R/progDAG.R

progressionDAG_from_igraphR Documentation

Define the progression of mutations from an igraph object

Description

A helper function for simulateTumor() which returns to the user the edge list for a DAG which is defined as an igraph object.

Usage

progressionDAG_from_igraph(iG)

Arguments

iG

An igraph object for a directed acyclic graph.

Value

A matrix with 4 columns which contains the edges of the graph as well as the rate of crossing each edge and the selective advantage/disadvantage obtained by crossing each edge.

Author(s)

Phillip B. Nicol <philnicol740@gmail.com>


phillipnicol/SMITH documentation built on April 3, 2024, 3:39 a.m.