Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/EDA_functions.R
Heatmap showing the clustering of proteins and samples in a matrix of spectral counts
1 | counts.heatmap(msnset,etit=NULL,fac=NULL,to.pdf=FALSE)
|
msnset |
A MSnSet with spectral counts in the expression matrix. |
etit |
The root name of the pdf file names where the heatmaps are sent. |
fac |
A factor which is used for the column color bar. |
to.pdf |
A logical indicating whether the heatmaps are sent to a pdf file. |
A heatmap of the msnset
expression matrix is plot.
If 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.
If fac
is not NULL then a column color bar will show the levels
of the factor.
If to.pdf
is TRUE the heatmaps are sent to pdf files whose names
are the concatenation of etit
and "-HeatMap.pdf" and "-FullHeatMap.pdf",
otherwise etit
has no effect.
No value is returned
Josep Gregori
1 2 3 | data(msms.dataset)
msnset <- pp.msms.data(msms.dataset)
counts.heatmap(msnset,fac = pData(msnset)$treat)
|
Loading required package: MSnbase
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, basename, cbind, colnames,
dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which.max, which.min
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: mzR
Loading required package: Rcpp
Loading required package: S4Vectors
Loading required package: stats4
Attaching package: ‘S4Vectors’
The following object is masked from ‘package:base’:
expand.grid
Loading required package: ProtGenerics
Attaching package: ‘ProtGenerics’
The following object is masked from ‘package:stats’:
smooth
This is MSnbase version 2.16.0
Visit https://lgatto.github.io/MSnbase/ to get started.
Attaching package: ‘MSnbase’
The following object is masked from ‘package:base’:
trimws
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.