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

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

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

Value

a ggplot object