hasSpectra | R Documentation |
Helper functions to check whether raw files contain spectra or chromatograms.
hasSpectra(files)
hasChromatograms(files)
files |
A |
A logical(n)
where n == length(x)
with TRUE
if that
files contains at least one spectrum, FALSE
otherwise.
Laurent Gatto
f <- msdata::proteomics(full.names = TRUE)[1:2]
hasSpectra(f)
hasChromatograms(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.