plot_uhclust: Plot function for the result of uhclust

Description Usage Arguments Examples

View source: R/uhclust.R

Description

This function plots the p-value annotated dendrogram resulting from uhclust

Usage

1
2
3
4
5
6
7
plot_uhclust(
  uhclust,
  pvalues_cex = 0.8,
  pvalues_dx = 2,
  pvalues_dy = 0.08,
  print_pvalues = TRUE
)

Arguments

uhclust

Result from uhclust

pvalues_cex

Graphical parameter for p-value font size.

pvalues_dx

Graphical parameter for p-value position shift on x axis.

pvalues_dy

Graphical parameter for p-value position shift on y axis.

print_pvalues

Logical. Should the p-values be printed?

Examples

1
2
3
4
5
x = matrix(rnorm(100000),nrow=50)
x[1:35,] = x[1:35,]+0.7
x[1:15,] = x[1:15,]+0.4
res = uhclust(data=x, plot=FALSE)
plot_uhclust(res)

uclust documentation built on June 19, 2021, 1:06 a.m.