lcms_filter_mz: Filter by mass/charge

Description Usage Arguments Value See Also Examples

View source: R/pre_processing.R

Description

The function filters the dataset by m/z.

Usage

1
lcms_filter_mz(dataset, mz)

Arguments

dataset

A lcms_dataset.

mz

The range of masses to filter.

Value

A filtered lcms_dataset with the selected m/z range.

See Also

Other dataset functions: IPO_group_peaks(), find_peaks_cwp(), lcms_dataset_load(), lcms_dataset_save(), lcms_fill_chrom_peaks(), lcms_filter_polarity(), lcms_filter_rt_min(), lcms_filter_sample_type(), lcms_meta_add(), lcms_meta_export(), lcms_plot_chrom_peak_image(), lcms_plot_tics(), lcms_rearrange_datafiles_by_class(), lcms_retention_time_alignment_plot(), lcms_tics(), obiAdjust_Rtime(), peakpicking_optimization(), phData()

Other filtering functions: lcms_filter_polarity(), lcms_filter_rt_min(), lcms_filter_sample_type()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
mz_range = c(300, 400)
dataset <- lcms_dataset_load(system.file("extdata",
                                       "dataset_pos.rds",
                                       package = "AlpsLCMS"))
dataset_pos_mz <-lcms_filter_mz(dataset, mz = mz_range)

print(dataset_pos_mz)

## End(Not run)

sipss/NIHSlcms documentation built on May 13, 2021, 6:19 p.m.