Learn R Programming

Canopy (version 1.3.0)

initialsna: To initialize positions of SNAs

Description

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

Usage

initialsna(tree,sna.name)

Arguments

tree

input tree

sna.name

vector of input SNA names

Value

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

Examples

Run this code
# NOT RUN {
data(MDA231_tree)
data(MDA231)
sna.name = rownames(MDA231$R)
initialsna(MDA231_tree, sna.name)
# }

Run the code above in your browser using DataLab