Dulce_trimIsotopes: Trim Isotopes

View source: R/AnnotateMS1.r

Dulce_trimIsotopesR Documentation

Trim Isotopes

Description

This functions receives a xsAnnotate object and trims its isotopes, leaving only the rows with no isotopes, and collapsing those with isotopes into one row (annotating those which were found in the "isotopes" column).

Usage

Dulce_trimIsotopes(data, rtmin = 0, rtmax = Inf)

Arguments

data

xsAnnotate object.

rtmin

Minimum retention time value (in seconds) from which scans should be considered.

rtmax

Maximum retention time value (in seconds) to which scans should be considered.

Value

This function returns a data.frame with collapsed information about the isotopic signatures. A new column called "isotopes" is created, with a comma separated string of the trimmed isotopes.

See Also

Dulce_AnnotateMS1

Examples

# Examples have to be made with a toy data object.


margotbligh/Dulce documentation built on May 15, 2022, 10:51 a.m.