ppersp {mQTL.NMR} | R Documentation

## 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

### Author(s)

Jean-Baptiste Cazier

### See Also

`pplot`

### Examples

    # 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")

[Package mQTL.NMR version 1.14.0 Index]