normalise_mQTL {mQTL.NMR} | R Documentation |
Takes use of the base function normalise
to provide a normalised metabolomic data file.
normalise_mQTL(infile,outfile,method,refIdx=1, noiseInt=c(11,12))
infile |
a text file with non-normalised spectra profiles |
outfile |
a text file with normalised spectra profiles |
method |
a character defining the normalization method: - Constant sum normalisation (method<-'CS') - Constant noise normalisation (method<-'CN') - Qoutient probabilistic method (method<-'PQN') - Linear baseline normalisation (method<-'LBN') - Auto-scaling (method<-'AS') - Pareto scaling (method<-'PS') |
refIdx |
index of reference individual (set by the user) |
noiseInt |
noise region on the resonance axis as an interval (ex. [11,12] ppm) |
a file containing normalised spectra profiles
Lyamine Hedjazi
# Download data files load_datafiles() # Format data format_mQTL(phenofile,genofile,physiodat,cleandat,cleangen) # Constant Sum normlisation nmeth<-'CS' normalise_mQTL(cleandat,CSnorm,nmeth)