plotSpatial3d.MicroarrayData: Plots a 3-dimensional spatial representation of a field

Description Usage Arguments See Also Examples

Description

Plots a 3-dimensional spatial representation of a field.

Usage

1
2
## S3 method for class 'MicroarrayData'
plotSpatial3d(this, field, slide=1, pch=176, phi=40, theta=-25, xlab="x", ylab="y", zlab=field, log=NULL, ...)

Arguments

field

Name of the field to be plotted.

slide

Slide number to be plotted.

pch

Default value is 176 (small circle).

theta, phi

Angles defining the viewing direction. theta gives the azimuthal direction and phi the colatitude.

xlab,ylab,zlab

Labels for the x, the y, and the z axis.

log

The base of logarithm to be used for the z dimension. If NULL, the logarithm is not calculated.

...

Other arguments accepted by plot3d.

See Also

*plotXY() and *plotSpatial(), which are called by plot. plot3d. For more information see MicroarrayData.

Examples

1
2
3
4
5
6
7
8
9
  SMA$loadData("mouse.data")
  layout <- Layout$read("MouseArray.Layout.dat", path=system.file("data-ex", package="aroma"))
  raw <- RawData(mouse.data, layout=layout)
  ma <- getSignal(raw)
  subplots(4)
  plotSpatial3d(raw, "Rb", pch=".", col="red")
  plotSpatial3d(raw, "Gb", pch=".", col="green")
  plotSpatial3d(ma, "M", pch=".")
  plotSpatial3d(ma, "A", pch=".")

HenrikBengtsson/aroma documentation built on May 7, 2019, 12:56 a.m.