Learn R Programming

mQTL.NMR (version 1.6.0)

simple.plot: Plot NMR profile plus SRV regions

Description

Plot NMR profile plus SRV regions and consensus across the various statistics

Usage

simple.plot(file,lo,hi,k,title)

Arguments

file
a text file containing NMR data
lo
starting point on the chemical axis
hi
ending point on the chemical axis
k
number of samples
title
title of the plot

Value

NMR profile and SRV region plot with peak calling consensus

See Also

SRV.plot

Examples

Run this code

# Load data files

load_datafiles()

# Format data

format_mQTL(phenofile,genofile,physiodat,cleandat,cleangen)

# Plot NMR profile
 simple.plot(file=cleandat,lo=3.02,hi=3.08,k=1:20,title="NMR profile") 

Run the code above in your browser using DataLab