Learn R Programming

Canopy (version 1.0.0)

sampsna: To sample SNA positions

Description

To sample SNA positions along the tree. Used in canopy.sample.

Usage

sampsna(tree)

Arguments

tree
input tree

Value

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

Examples

Run this code
data(MDA231_tree)
sampsna(MDA231_tree)

Run the code above in your browser using DataLab