progressionChain {SITH}R 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)

[Package SITH version 1.1.0 Index]