Learn R Programming

DCLEAR (version 1.0.13)

downsample,lineage_tree-method: downsample

Description

Sample a lineage tree

Usage

# S4 method for lineage_tree
downsample(x, n = 10L, ...)

Value

a lineage_tree object

Arguments

x

a lineage_tree object

n

number of leaves (tips) in the down-sampled tree

...

additional parameters