sampsna.cluster {Canopy}R Documentation

To sample positions of SNA clusters

Description

To sample SNA cluster positions along the tree. Used in canopy.sample.cluster and canopy.sample.cluster.nocna.

Usage

    sampsna.cluster(tree)

Arguments

tree

input tree

Value

Newly sampled matrix specifying positions of SNA clusters (start and end node).

Author(s)

Yuchao Jiang yuchaoj@wharton.upenn.edu

Examples

    data(MDA231_tree)
    MDA231_tree$sna.cluster=initialsna(MDA231_tree,paste('cluster',1:4,sep=''))
    sampsna.cluster(MDA231_tree)

[Package Canopy version 1.3.0 Index]