as.polytomy: as.polytomy

Description Usage Arguments Value Author(s)

View source: R/as.polytomy.R

Description

collapse binary tree to polytomy by applying 'fun' to 'feature'

Usage

1
as.polytomy(tree, feature, fun)

Arguments

tree

tree object

feature

selected feature

fun

function to select nodes to collapse

Value

polytomy tree

Author(s)

Guangchuang Yu


ggtree documentation built on Nov. 15, 2020, 2:09 a.m.