View source: R/nmf.R View source: R/.ipynb_checkpoints/visium.utilities-checkpoint.R
plotNMFCons | R Documentation |
Plots NMF clustering, silhouette and consensuse clustering
plotNMFCons(
coefs,
cons,
clcols = NULL,
max.cex = 4.5/14 * 8,
colfun = function(x) num2col(x, c("blue", "gray", "orange", "violet", "black"), minx =
0, maxx = 1),
title = "",
ylab.cex = 1,
xlab.cex = 1
)
coefs |
coef matrix from NMF |
cons |
conensus matrix |
clcols |
colors for clusters |
max.cex |
dot size for dotPlot |
colfun |
color function to be used in dotPlot |
title |
title for whole plot |
ylab.cex , xlab.cex |
sizes of axis labels |
list of clusters, colors and silhouette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.