| Title: | Companion package to the 'Using R and Bioconductor for proteomics data analysis' publication |
|---|---|
| Description: | This package contains code to illustrate the 'Using R and Bioconductor for proteomics data analysis' and 'Visualisation of proteomics data using R and Bioconductor' manuscripts. The vignettes describe the code and data needed to reproduce the examples and figures described in the paper and functionality for proteomics visualisation. It also contain various function to discover R software for mass spectrometry and proteomics. |
| Authors: | Laurent Gatto [aut, cre], Sebastian Gibb [ctb], Vlad Petyuk [ctb], Thomas Pedersen Lin [ctb] |
| Maintainer: | Laurent Gatto <[email protected]> |
| License: | Artistic-2.0 |
| Version: | 1.51.1 |
| Built: | 2026-10-10 10:54:10 UTC |
| Source: | https://github.com/bioc/RforProteomics |
Finds the package names that have a specific biocView.
getPackagesInBiocView( view, rep = c("BioCsoft", "BioCann", "BioCexp", "BioCextra"), biocVersion )getPackagesInBiocView( view, rep = c("BioCsoft", "BioCann", "BioCexp", "BioCextra"), biocVersion )
view |
The biocView of interest. For example |
rep |
Repository of interest. One of |
biocVersion |
A |
An instance of class BiocView. NULL if the the
biocView was not found.
Laurent Gatto
This is the constructor function to generate a set of ions that can later be analysed with 'analyse()' and detected with 'detect()'.
new_ions(npeaks = 10, mzrange = c(100, 1000), nimg = 100) analyse(x, sleep = 0.1) analyze(x, sleep = 0.1) detect(x, new = FALSE) spectrum(x, ...)new_ions(npeaks = 10, mzrange = c(100, 1000), nimg = 100) analyse(x, sleep = 0.1) analyze(x, sleep = 0.1) detect(x, new = FALSE) spectrum(x, ...)
npeaks |
A 'numeric' scalar defining the number of unique peaks (M/Z values). Default is 10. |
mzrange |
A 'numeric' of length 2 defining the range of possible M/Z values. Default is 'c(100, 1000)'. |
nimg |
A 'numeric' scalar. When analysing the ions, their separation along their M/Z values will be split along a sequence of length 'nimg'. Default is 100. |
x |
An object of class 'ions'. |
sleep |
How much time to wait before producing the next plot. |
new |
A 'logical' scalar, indicating if the separated ions (last frame of calling 'analyse) should be plotting, or whether the detection should be overlaid. Default is 'FALSE', to add the plot on top of the opened device. |
... |
Additional arguments passed to [graphics::plot()]. |
An object of class 'ions'.
'analyse', 'detect' and 'spectrum' are used for their side effect or producing plots. They all invisibly return 'NULL'.
Laurent Gatto
set.seed(1L) x <- new_ions(nimg = 5) x analyse(x) detect(x) spectrum(x)set.seed(1L) x <- new_ions(nimg = 5) x analyse(x) detect(x) spectrum(x)
Format a BiocView as a data.frame.
packageDF(x, nsub = TRUE, version = TRUE)packageDF(x, nsub = TRUE, version = TRUE)
x |
An instance of class |
nsub |
A |
version |
A |
A data.frame with package information.
Laurent Gatto
Searches for all the packages with the "Proteomics"
(software), "MassSpectrometry" (software) and
"MassSepctrometryData" (data) packages and return their
names, titles and versions as a data.frame. The
(unexported but documented) underlying functions are
RforProteomics:::getPackagesInBiocView (to find relevant
package) and RforProteomics:::packageDF
(data.frame formatting).
proteomicsPackages(biocv, cache = FALSE) massSpectrometryPackages(biocv, cache = FALSE) massSpectrometryDataPackages(biocv, cache = FALSE)proteomicsPackages(biocv, cache = FALSE) massSpectrometryPackages(biocv, cache = FALSE) massSpectrometryDataPackages(biocv, cache = FALSE)
biocv |
A |
cache |
A |
A data.frame with the respective package names,
titles and versions.
Laurent Gatto
head(pp <- proteomicsPackages("3.0")) ppc <- proteomicsPackages("3.0", cache = TRUE) all.equal(pp, ppc)head(pp <- proteomicsPackages("3.0")) ppc <- proteomicsPackages("3.0", cache = TRUE) all.equal(pp, ppc)
Opens the package and visualisation vignettes.
RforProteomics() RProtVis() RProtViz()RforProteomics() RProtVis() RProtViz()
An instance of class vignette. Used for its side effect,
opening a vignette.
Laurent Gatto