Description Usage Arguments Value See Also Examples
View source: R/pre_processing.R
This function was merged in the MSnbase package on 2018-12-10. It filter by positive or negative ionization mode.
1 | lcms_filter_polarity(lcms_dataset, polarity.)
|
lcms_dataset |
A MSnExp object. |
polarity. |
The polarity to keep. set |
A filtered lcms_dataset with the selected polarity.
Other dataset functions:
IPO_group_peaks()
,
find_peaks_cwp()
,
lcms_dataset_load()
,
lcms_dataset_save()
,
lcms_fill_chrom_peaks()
,
lcms_filter_mz()
,
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_mz()
,
lcms_filter_rt_min()
,
lcms_filter_sample_type()
1 2 3 4 5 6 7 | ## Not run:
dataset_2_polarities <- lcms_read_samples("yourDir/sample1.mzXML", mode = "onDisk")
dataset_pos <- lcms_filter_polarity(dataset_2_polarities, polarity. = 1)
is.positive(dataset_pos)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.