Checks if raw data files have any spectra or chromatograms
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.