Learn R Programming

mQTL (version 1.0)

summary_mQTL: Function to summarize the results of a all the runs and their differences

Description

This function generates a table containing the genetic markers and thier associated metabolomic variables and estimated LOD score.

Usage

summary_mQTL(results, Th = 5)

Arguments

results

mQTL mapping results

Th

Threshold of the top accepted LOD

Value

returns Summaries

Details

Generates a text file containing a table of results

See Also

pre_mQTL

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
## Pre-process data 

    infile<-"ReducedData.dat" ## Reduced data by SRV
    cleangen<-"CleanGenoFile.dat" ## Genotype data file in csvs format
    nperm <- 0 ## Number of permutations
    MQTL_results<-process_mQTL(infile, cleangen, nperm))
    
    T=10 ## LOD threshold
    summary_mQTL(results,T=8)## summarizes mQTL results in a table

# }

Run the code above in your browser using DataLab