map_id_to_camera: Map identification results onto camera object

View source: R/helper_functions.R

map_id_to_cameraR Documentation

Map identification results onto camera object

Description

This function accepts a CAMERA object, identification results (a data.frame) and map MSMS data onto the features

Usage

map_id_to_camera(
  metFragSearchResult = NA,
  cameraObject = NA,
  ppm = 5,
  MinusTime = 5,
  PlusTime = 5,
  method = "regular",
  ncore
)

Arguments

metFragSearchResult

A data.frame that much contain the identification results and has to have three addional columns: parentMZ, parentRT and fileName

cameraObject

A CAMERA object including addcuts and isotopes

ppm

ppm mass devation

MinusTime

The lower boundary of the retention time window

PlusTime

The higher boundary of the retention time window

method

The method for mapping, This can be one of regular, fast, or parallel

ncore

Number of cores if parallel is selected for mapping method

Value

A list of Identification where name of each element correspond to an index of a row in cameraObject


metaboraid/metaboraid documentation built on Jan. 29, 2023, 1:41 a.m.