DendogramDatasetPlot: DendogramDatasetPlot

Description Usage Arguments Examples

View source: R/DendogramPlot.R

Description

Plots the dendogram for every cluster in a clustered dataset.

Usage

1
2
3
4
5
6
7
8
DendogramDatasetPlot(
  cluster.dataset,
  method = "agglom",
  metric = "euclidean",
  print = TRUE,
  save = FALSE,
  path = NULL
)

Arguments

cluster.dataset

A transcriptomics dataset where the final column details the cluster the gene belongs to. First column should be gene names. All remaining columns should be expression levels.

method

The clustering method to be used. Currently accepts 'agglom' and 'diana'.

metric

The distance metric to be used to calculate the distances between genes. See parallelDist::parDist for all accepted arguments. Also allows the option of 'abs.correlation'.

print

Logical. If TRUE renders plot in the plot viewer. Defaults to TRUE

save

Logical. If TRUE, saves plot to working directory. Defaults to FALSE.

path

The directory to be used for saving plots to. Uses the working directory by default. Not used if save = FALSE

Examples

1
2
diana.df <- DianaClustering(Laurasmappings, k= 10)
DendogramDatasetPlot(diana.df, method = 'diana')

nathansam/CircadianTools documentation built on Dec. 26, 2019, 11:30 a.m.