Heatmap of an spectral counts matrix.
Heatmap showing the clustering of proteins and samples in a matrix of spectral counts
A MSnSet with spectral counts in the expression matrix.
The root name of the pdf file names where the heatmaps are sent.
A factor which is used for the column color bar.
A logical indicating whether the heatmaps are sent to a pdf file.
A heatmap of the
msnset expression matrix is plot.
to.pdf is TRUE two heatmaps are plot, the first is fitted on an A4
page, the second is plotted with 3mm by row, allocating enough height to make
the rownames readable.
fac is not NULL then a column color bar will show the levels
of the factor.
to.pdf is TRUE the heatmaps are sent to pdf files whose names
are the concatenation of
etit and "-HeatMap.pdf" and "-FullHeatMap.pdf",
etit has no effect.
No value is returned
1 2 3
data(msms.dataset) msnset <- pp.msms.data(msms.dataset) counts.heatmap(msnset,fac = pData(msnset)$treat)