Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/EDA_functions.R
Hierarchical clustering of samples in an spectral counts matrix, coloring tree branches according to factor levels.
1 |
msnset |
A MSnSet with spectral counts in the expression matrix. |
do.plot |
A logical indicating whether to plot the dendrograms. |
facs |
NULL, or a data frame with factors. See details below. |
wait |
This function may draw different plots, one by given factor in
|
The hierarchical clustering is done by means of hclust with default parameters.
If do.plot is TRUE, a dendrogram is plotted for each factor, with branches colored as per factor level. If facs is NULL then the factors are taken
from pData(msnset).
Invisibly returns the the value obtained from hclust.
Josep Gregori
1 2 3 4 | data(msms.dataset)
msnset <- pp.msms.data(msms.dataset)
hc <- counts.hc(msnset)
str(hc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.