swaptree: Swaps a branch of a hclust object.

Description Usage Arguments Value Author(s)

View source: R/grid.sgiHeatmap.R

Description

Swaps the left and right branch at a specified level of a dendrogram.

Usage

1
swaptree(hc, level)

Arguments

hc

An hierarchical clustering object as produced by hclust.

level

The level to be swapped.

Value

Returns an hclust object.

Author(s)

Bernd Fischer


RNAinteract documentation built on Nov. 8, 2020, 5:28 p.m.