process_query: Searching and managing the spectral library

View source: R/process_query.R

process_queryR Documentation

Searching and managing the spectral library

Description

The function is used by library_query() to select scans based on a query expression.

Usage

process_query(
  library0,
  query = "",
  ppm_search = 20,
  rt_search = 12,
  sepString = "@xxx@"
)

Arguments

query

query expression - two ways to specify drop

setString

string used to seperate paramter name and expression

  • equal:use e.g. 'IONMODE=Positive' to do exact search

  • regex:use e.g. 'IONMODE@xxx@^Pos' to search IONMODE begins with 'Pos'


daniellyz/MergeION2 documentation built on Jan. 26, 2024, 6:24 a.m.