gather_spectra_stats {maldipickr}R Documentation

Aggregate spectra quality-check statistics

Description

Aggregate spectra quality-check statistics

Usage

gather_spectra_stats(check_vectors)

Arguments

check_vectors

A list of logical vectors from check_spectra

Value

A tibble of one row with the following 5 columns of integers:

See Also

check_spectra

Examples

# Get an example directory of six Bruker MALDI Biotyper spectra
directory_biotyper_spectra <- system.file(
  "toy-species-spectra",
  package = "maldipickr"
)
# Import the six spectra
spectra_list <- import_biotyper_spectra(directory_biotyper_spectra)
# Display the list of checks, with FALSE where no anomaly is detected
checks <- check_spectra(spectra_list)
# Aggregate the statistics of quality-checked spectra
gather_spectra_stats(checks)

[Package maldipickr version 1.3.1 Index]