Description Usage Arguments Value Examples
View source: R/hierarchicalPlot.R
Computes and displays hierarchical clustering plot for samples in MSnSet
1 2 3 4 5 6 7 | hierarchicalPlot(
MSnSetObj,
sampleColours = NULL,
colourBy = "SampleGroup",
horizontal = TRUE,
title = ""
)
|
MSnSetObj |
MSnSet; an object of class MSnSet |
sampleColours |
character: a named vector of colors for samples, names
should be values of |
colourBy |
character: column name from |
horizontal |
logical: define orientation of the dendrogram |
title |
character: the main title for the dendrogram |
An object created by ggplot
1 2 3 4 5 6 7 8 | data(exp3_OHT_ESR1)
MSnSet_data <- convertToMSnset(exp3_OHT_ESR1$intensities_qPLEX1,
metadata=exp3_OHT_ESR1$metadata_qPLEX1,
indExpData=c(7:16),
Sequences=2,
Accessions=6)
exprs(MSnSet_data) <- exprs(MSnSet_data)+0.01
hierarchicalPlot(MSnSet_data, title="qPLEX_RIME_ER")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.