| format_mQTL {mQTL} | R Documentation |
This function enables to reformat data into the proper format. The user should provides in input metabolomic dataset, Genotype dataset and a dataset containing sex and pgm (parental grandmother).
format_mQTL(datafile, genofile, physdat, outdat, outgeno)
datafile |
metabolomic data file |
genofile |
genotype data file |
physdat |
a file containing sex and pgm |
outdat |
phenotype data (metabolomic data + sex + pgm) in the format csvs |
outgeno |
genotype data |
It returns phynotype and genotype files in the proper format
Lyamine Hedjazi
## Not run: ## Clean the raw data to match the genotype and phenotype and create the proper format rawfile<-"MetaboFile.dat" ## Metabolomic data file genofile<-"GenoFile.dat" ## Genotype data file physiodat="physiodat.dat" ## data file containing sex and pgm cleandat<-"CleanMetaboFile.dat" ## Metabolomic data file in csvs format cleangen<-"CleanGenoFile.dat" ## Genotype data file in csvs format format_mQTL(rawfile,genofile,physiodat, cleandat,cleangen) ## End(Not run)