trimXICs: Selects a part of chromatograms

Description Usage Arguments Value Author(s) Examples

View source: R/chromatogram_manip.R

Description

This function trims chromatograms from the end-points.

Usage

1
trimXICs(XICs, len = 1)

Arguments

XICs

(A list) A list of dataframe that consists of two columns. First column must be monotonically increasing.

len

(numeric) must be between 0.1 and 1.

Value

A list.

Author(s)

Shubham Gupta, shubh.gupta@mail.utoronto.ca

ORCID: 0000-0003-3500-8152

License: (c) Author (2020) + GPL3 Date: 2020-04-01

Examples

1
2
3
4
5
6
data("XIC_QFNNTDIVLLEDFQK_3_DIAlignR")
XICs <- XIC_QFNNTDIVLLEDFQK_3_DIAlignR[["hroest_K120808_Strep10%PlasmaBiolRepl1_R03_SW_filt"]][["4618"]]
## Not run: 
newXICs <- smoothXICs(XICs, len = 0.5)

## End(Not run)

Roestlab/DIAlign documentation built on Feb. 25, 2021, 5:18 p.m.