Learn R Programming

mQTL.NMR (version 1.6.0)

ppersp: Plot a 3-D profile of LODs

Description

Plot 3-D profile of LODs as function of genomic position and chemical shift

Usage

ppersp(z, ppm, title, theta=-15, phi=15, r=50)

Arguments

z
a matrix specifying metabolome genome-wide mQTL mapping results
ppm
a vector of chemical shift
title
plot title
theta
angle defining the viewing direction (azimuthal direction)
phi
angle defining the viewing direction (colatitude direction)
r
the distance of the eyepoint from the centre of the plotting box.

Value

plot 2D-profile

See Also

pplot

Examples

Run this code

# Download data files
load_datafiles()

# mQTL mapping results
load(results)

## Plot 3D profile
dev.new(width=5,height=5,pointsize=5)
ppersp(results$res, results$ppm, title="Example plot")

Run the code above in your browser using DataLab