Learn R Programming

gapmap (version 1.0.0)

gap_dendrogram: Function to draw a gapped dendrogram

Description

This function draws a gapped dendrogram using the ggplot2 package. The input for the function is the gapdata class object, generated from gap_data() function.

Usage

gap_dendrogram(
  data,
  leaf_labels = TRUE,
  rotate_label = FALSE,
  orientation = c("top", "right", "bottom", "left"),
  ...
)

Value

a ggplot object

Arguments

data

gapdata class object

leaf_labels

a logical to show labels or not

rotate_label

a logical to rotate labels or not

orientation

a character to set the orientation of dendrogram. Choices are "top", "right", "bottom", "left".

...

ignored