ssm_trim: Standards Simulation Method

Description Usage Arguments Author(s)

View source: R/data_trimming.R

Description

Whole mass spectra will be divided as 4 bins according to the mz range. Trimming the raw with slide window method in every bins and retained the windows with highest scan intensity and remove other scan signal in mz dimension. Then the data will be trimed again in the RT dimension with slide window method. The window with highest intensity scans will be kept. After the timming alongside mz and RT dimension, the peaks not only the high intensity peaks, but also the relatively low intensity peaks will also be retained as the 'simulated standards' data for parameters optimization.

Usage

1
ssm_trim(raw_data, ms_list, rt.idx)

Arguments

raw_data

MSnExp object, the raw data that has been read in memory.

ms_list

List, the names list of all scans.

rt.idx

Numeric, the retention time percentage, from 0 to 1. Default is 1/15.

Author(s)

Zhiqiang Pang zhiqiang.pang@mail.mcgill.ca Jeff Xia jeff.xia@mcgill.ca Mcgill University License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR3.0 documentation built on May 6, 2020, 11:03 p.m.