Description Usage Arguments Examples
View source: R/DendogramPlot.R
Plots the dendogram for every cluster in a clustered dataset.
1 2 3 4 5 6 7 8 |
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 |
1 2 | diana.df <- DianaClustering(Laurasmappings, k= 10)
DendogramDatasetPlot(diana.df, method = 'diana')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.