Description Usage Arguments Value Examples
Computes and display correlation plot for samples within MSnSet
1 2 3 4 5 6 7 8 9 10 |
MSnSetObj |
MSnSet; an object of class MSnSet |
addValues |
logical: adds correlation values to the plot |
title |
character; title of the plot |
low_cor_colour |
colour; colour for lowest correlation in scale |
high_cor_colour |
colour; colour for highest correlation in scale |
low_cor_limit |
numeric; lower limit for correlation in colour scale |
high_cor_limit |
numeric; upper limit for correlation in colour scale |
textsize |
integer: set the size of correlation values text |
An object created by ggplot
1 2 3 4 5 6 7 8 9 10 11 12 | data(human_anno)
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)
corrPlot(MSnSet_data, addValues=TRUE, title="Correlation plot")
# change colours
corrPlot(MSnSet_data, addValues=TRUE, title="Correlation plot",
low_cor_colour="yellow", high_cor_colour="pink")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.