# Download data files
load_datafiles()
# Format data
format_mQTL(phenofile,genofile,physiodat,cleandat,cleangen)
# Constant Sum normlisation
nmeth<-'CS'
normalise_mQTL(cleandat,CSnorm,nmeth)
# Alignment
align_mQTL(CSnorm,aligdat)
# Dimensionality reduction
met="rectangle" # choose the statistical summarizing measure ("max","sum","trapez",...)
RedMet="SRV" # reduction method ("SRV" or "bin")
pre_mQTL(aligdat, reducedF, RedMet="SRV",met, corrT=0.9)
Run the code above in your browser using DataLab