getSilhouette: Get silhoutte plot from consensus clustering

Description Usage Arguments Value Examples

View source: R/getSilhouette.R

Description

This function visualizes the silhoutte information.

Usage

1
2
3
4
5
6
7
8
9
getSilhouette(
  sil = NULL,
  clust.col = c("#2EC4B6", "#E71D36", "#FF9F1C", "#BDD5EA", "#FFA5AB", "#011627",
    "#023E8A", "#9D4EDD"),
  fig.path = getwd(),
  fig.name = "silhoutte",
  width = 5.5,
  height = 5
)

Arguments

sil

A sil object returned from 'getConsensusMOIC()'.

clust.col

A string vector storing colors for annotating each cluster.

fig.path

A string value to indicate the output path for storing the consensus heatmap.

fig.name

A string value to indicate the name of the consensus heatmap.

width

A numeric value to indicate the width of output figure.

height

A numeric value to indicate the height of output figure.

Value

A silhoutte barplot.

Examples

1
# There is no example and please refer to vignette.

xlucpu/MOVICS documentation built on July 24, 2021, 9:23 p.m.