pplot: Plot a color scale layer

Description Usage Arguments Value Author(s) See Also Examples

Description

Plot the results with a color scale y layer over 3 in 2D

Usage

1
pplot(z, title, ppm, res, LT = c(5,10,15,20))

Arguments

z

a matrix specifying metabolome genome-wide mQTL mapping results

title

figure title

ppm

a vector of chemical shift

res

mQTL results to be plotted (scanone object)

LT

quantil(res,probs), res: matrix of mQTL mapping results and probs: vector of probabilities

Value

plot of 2-D profile

Author(s)

Jean-Baptiste Cazier

See Also

ppersp

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Download data files
load_datafiles()

# mQTL mapping results
load(results)

## Plot 3D profile

dev.new(width=5,height=5,pointsize=5)

probs=c(0.95,0.99,0.999,0.9999) ## probabilities

pplot(results$res,"Full 2D Profile", results$ppm, results$best, quantile(results$res,probs=probs))

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