Learn R Programming

Canopy (version 1.0.0)

initialcna: To initialize positions of CNAs

Description

To initialize positions of CNAs on the tree. Used in initialization step of canopy.sample.

Usage

initialcna(tree,cna.name)

Arguments

tree
input tree
cna.name
vector of input CNA names

Value

Matrix specifying positions of CNAs (start and end node).

Examples

Run this code
data(MDA231_tree)
data(MDA231)
cna.name = rownames(MDA231$WM)
initialcna(MDA231_tree, cna.name)

Run the code above in your browser using DataLab