Description Usage Arguments Examples
View source: R/DendogramPlot.R
Plots the dendogram for a cluster in a clustered dataset.
1 2 3 4 5 6 7 8 9 |
cluster.no |
The number which identifies the cluster. If a vector is provided then multiple clusters will be used. |
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)
DendogramPlot(5, diana.df, method = 'diana')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.