trimZeros: A function for trimming zero-values bins.

View source: R/mrbin.R

trimZerosR Documentation

A function for trimming zero-values bins.

Description

This function removes zero-values bins. These might be created during removal of solvent and additional areas, or at the edges of the spectrum.

Usage

trimZeros(mrbinResults)

Arguments

mrbinResults

An mrbin object

Value

An invisible mrbin object

Examples

mrbinResults<-mrbin(silent=TRUE,setDefault=TRUE,parameters=list(dimension="1D", logTrafo="No",
                    binwidth1D=0.05,signal_to_noise1D=50, verbose=TRUE, PCA="No",
                      trimZeros="No",tryParallel=FALSE,
                    NMRfolders=c(system.file("extdata/1/10/pdata/10",package="mrbin"),
                                system.file("extdata/2/10/pdata/10",package="mrbin"))))
mrbinResults<-trimZeros(mrbinResults)

mrbin documentation built on Jan. 23, 2023, 5:41 p.m.