Learn R Programming

powerHaDeX (version 1.0)

get_paired_spectra: Get list of data.tables of spectra for pairs of protection factors

Description

A supplementary function for get_spectra_list.

Usage

get_paired_spectra(theoretical_spectra, reference = NA)

Arguments

theoretical_spectra

a data table or a list of data tables of theoretical spectra created by the function simulate_theoretical_spectra.

reference

protection factor that will be used for comparison to other protection factors in. The function accepts either NA (for comparing all protection factors), a number (for comparing with reference value of protection factor) or "all" (for pairwise comparisons of all the possible combinations). Default NA.

Value

list of data.tables

Details

For more details see get_spectra_list.