Skip to contents

This function maps true positive markers to their corresponding ions by modifying and matching the marker and ion names.

Usage

map_TP_markers_to_ions(markers, scm_ions)

Arguments

markers

A character vector containing true positive markers obtained from get_TP_markers_per_Term

scm_ions

A character vector containing input ion names.

Value

A character vector containing the ions that match the given true positive markers.

Examples

if (FALSE) { # \dontrun{
markers <- c("sf.Na", "sf.H")
scm_ions <- c("sf+Na", "sf+H")
map_TP_markers_to_ions(markers, scm_ions)
} # }