Learn R Programming

mQTL (version 1.0)

post_mQTL: Plot top LOD results

Description

Function to plot the results of a given run

Usage

post_mQTL(results, probs = c(0.95, 0.99, 0.999, 0.9999))

Arguments

results

results of mQTL analysis.

probs

numeric vector of probabilities with values in [0,1]. (Values up to 2e-14 outside that range are accepted and moved to the nearby endpoint.).

Value

It returns graphs and summaries

Details

This function plots differents results corresponding to top LOD marker

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

    post_mQTL(results)## Plot mQTL results

# }

Run the code above in your browser using DataLab