progressionChain: Create a linear chain graph to describe the order of...

View source: R/progDAG.R

progressionChainR Documentation

Create a linear chain graph to describe the order of mutations

Description

A helper function for simulateTumor() which returns to the user the edge list for a linear chain.

Usage

progressionChain(n)

Arguments

n

Number of vertices in the chain

Value

A matrix with 4 columns and n-1 rows which will be accepted as input to simulateTumor().

Author(s)

Phillip B. Nicol <philnicol740@gmail.com>

Examples

G <- progressionChain(3)

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