initialsna {Canopy} | R Documentation |
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).
Author(s)
Yuchao Jiang yuchaoj@wharton.upenn.edu
Examples
data(MDA231_tree)
data(MDA231)
sna.name = rownames(MDA231$R)
initialsna(MDA231_tree, sna.name)
[Package Canopy version 1.3.0 Index]