Learn R Programming

DCLEAR (version 1.0.13)

downsample,igraph-method: downsample

Description

Sample a lineage tree

Usage

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

Value

a phylo object

Arguments

x

a igraph object

n

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

...

additional parameters