Description Usage Arguments Value Author(s) See Also Examples
View source: R/normalise_mQTL.R
Takes use of the base function normalise to provide a normalised metabolomic data file.
| 1 | 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
| 1 2 3 4 5 6 7 8 9 10 | # Download data files
load_datafiles()
# Format data
format_mQTL(phenofile,genofile,physiodat,cleandat,cleangen)
# Constant Sum normlisation
nmeth<-'CS'
normalise_mQTL(cleandat,CSnorm,nmeth)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.