negativeIntensitiesCorrection: A function to correct the data for the negative intensities...

Description Usage Arguments Value Author(s) Examples

Description

This function corrects the mass spectra data, which has been pre-processed using tools tools from the Biomarkers Wizard PROcess softwares, for the negative intensities caused by their normalization and background correction procedures.

Usage

1

Arguments

Data

is a dataframe , or a matrix, or a vector, of numerical values.

Value

A dataframe , or a matrix, or a vector (whichever is the input quantity), of nonnegative numerical values.

Author(s)

Stephen Nyangoma

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
data(liverdata)

no.peaks <- 53

JUNK_DATA <- sampleClusteredData(liverdata,no.peaks)

Data=JUNK_DATA

Data=JUNK_DATA
Data=Data+1
temp=negativeIntensitiesCorrection(Data)
temp[,1]
Data[,1]

clippda documentation built on Nov. 8, 2020, 8:13 p.m.