Learn R Programming

cn.farms (version 1.20.0)

plotDendrogram: Plots a dendrogram

Description

Plots a dendrogram

Usage

plotDendrogram(DivMetric, colorLabels)

Arguments

DivMetric
The input data (see example).
colorLabels
A color label with the dimension of the columns.

Value

A dendrogram.

Examples

Run this code
load(system.file("exampleData/normData.RData", package = "cn.farms"))
x <- assayData(normData)$intensity[, 1:3]
y <- distributionDistance(x)
attr(y, "Labels") <- substr(sampleNames(normData), 1, 7)
plotDendrogram(y)

Run the code above in your browser using DataLab