Learn R Programming

mQTL.NMR (version 1.6.0)

SRV.plot: Plot SRV clusters

Description

Plot arrows defined by SRV on data

Usage

SRV.plot(file1,file2,lo,hi,k,title)

Arguments

file1
a text file with NMR data
file2
a text file with SRV results
lo
starting point on chemical shift
hi
ending point on chemical shift
k
number of samples
title
title of the plot

See Also

simple.plot

Examples

Run this code

# Load data files

load_datafiles()

# Format data

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

## Plot SRV profile

SRV.plot(file1=cleandat,file2=rectangle_SRV,lo=3.02,hi=3.08,k=1:168,title="Cluster plot")

Run the code above in your browser using DataLab