Description Usage Arguments Value Author(s) See Also Examples
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).
1 | 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
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.