ppersp: Plot a 3-D profile of LODs

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
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

Author(s)

Jean-Baptiste Cazier

See Also

pplot

Examples

1
2
3
4
5
6
7
8
9
# 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")

lhedjazi/mQTL.NMR documentation built on May 31, 2019, 10:47 p.m.