format_mQTL {mQTL}R Documentation

Routine to reformat the data into the required format

Description

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).

Usage

format_mQTL(datafile, genofile, physdat, outdat, outgeno)

Arguments

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

Value

It returns phynotype and genotype files in the proper format

Author(s)

Lyamine Hedjazi

See Also

align_mQTL,

Examples

  ## 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)

[Package mQTL version 1.0 Index]