Skip to contents

[Experimental]

Usage

chemi_amos_all_similarities_by_dtxsid(
  da_window = NULL,
  dtxsids = NULL,
  min_intensity = NULL,
  ms_level = NULL,
  ppm_window = NULL,
  spectra = NULL
)

Arguments

da_window

Mass window in units of daltons. If not null, this will be used for similarity calculations, regardless of whether ppm_window is supplied.

dtxsids

List of DTXSIDs to search for.

min_intensity

Minimum intensity level for peaks in both the user and database spectra to consider. All database spectra are scaled to have a maximum intensity of 100, and all user spectra are assumed to be scaled the same.

ms_level

Level of mass spectrometry; if supplied, then only spectra at the specified level will be returned. Valid values are from 1 to 5.

ppm_window

Mass window in units of parts per million. Will only be used if da_window is null or not passed and ppm_window is not null.

spectra

A list of spectra, where each spectrum is an array of m/z-intensity pairs formatted as two-element arrays. Maximum intensity should be scaled to 100.

Value

The decoded JSON result from the AMOS read or calculation operation.

API stage

This wrapper was generated from the public API schema.

Examples

if (FALSE) { # \dontrun{
chemi_amos_all_similarities_by_dtxsid(da_window = 0.1, dtxsids = list("DTXSID9020112", "DTXSID3022401"), min_intensity = 0, ms_level = 2L, ppm_window = 5, spectra = list(list(list(10L, 20L), list(23L, 100L)), list(list(15L, 30L), list(24.5, 100L), list(33L, 9L))))
} # }