sampsna.cluster {Canopy} | R Documentation |
To sample SNA cluster positions along the tree. Used in
canopy.sample.cluster
and canopy.sample.cluster.nocna
.
sampsna.cluster(tree)
tree |
input tree |
Newly sampled matrix specifying positions of SNA clusters (start and end node).
Yuchao Jiang yuchaoj@wharton.upenn.edu
data(MDA231_tree)
MDA231_tree$sna.cluster=initialsna(MDA231_tree,paste('cluster',1:4,sep=''))
sampsna.cluster(MDA231_tree)