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 file, Genotype file and a file containing sex and pgm (parental grandmother).
1 | format_mQTL(datafile, genofile, physdat, outdat, outgeno)
|
datafile |
metabolomic data file in text format |
genofile |
genotype data file in text format |
physdat |
a file containing sex and pgm in text format |
outdat |
Output data file with formatted phenotype data (metabolomic data + sex + pgm) in the format csvs |
outgeno |
Output data file with formatted genotype data in the csvs format |
formatted phenotype and genotype data files (in format csvs) are written to the user working directory (it is therefore preferable that the user create a new directory to be used throughout the study)
Lyamine Hedjazi
1 2 3 4 5 6 | # Download data files
load_datafiles()
# Format data
format_mQTL(phenofile,genofile,physiodat,cleandat,cleangen)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.