Skip to contents

[Experimental]

Usage

chemi_amos_entropy_similarity(
  spectrum_1 = NULL,
  spectrum_2 = NULL,
  type = NULL,
  window = NULL
)

Arguments

spectrum_1

Array of m/z intensity pairs. Should be formatted as an array of two-element arrays, each of which has the m/z value and the intensity value (in that order). Peaks should be sorted in increasing order of m/z values.

spectrum_2

Array of m/z intensity pairs. Should be formatted as an array of two-element arrays, each of which has the m/z value and the intensity value (in that order). Peaks should be sorted in increasing order of m/z values.

type

Type of mass window to use. Should be either "da" or "ppm".

window

Size of the mass window to use. Will be in units of the 'type' argument.

Value

Returns a tibble with results

API stage

This wrapper was generated from the public API schema.

Examples

if (FALSE) { # \dontrun{
chemi_amos_entropy_similarity(spectrum_1 = "DTXSID1024122")
} # }