plot3d: 3D plot

Description Usage Arguments Details Value See Also Examples

View source: R/plot3d.R

Description

Plot a three-dimensional plot for each plate

Usage

1
2
plot3d(plotMatrix, plateRows, plateCols, plotRows = NULL, plotCols = NULL,
  plotName = NULL)

Arguments

plotMatrix

Data frame or numeric matrix. Columns are plates, and rows are plate wells.

plateRows, plateCols

Number of rows/columns in plate.

plotRows, plotCols

Optional integer vector. Indicate which row/column numbers from the plotMatrix should be plotted. If NULL then all rows/columns from the plotMatrix are used.

plotName

Optional. Name of plotMatrix for plot title.

Details

3d plots can be used to assess the existence of spatial bias on a plate by plate basis. Spatial bias can be visually subtle, however, and sometimes difficult to detect with 3d plots. Auto-correlation plots (plotAutoco) can circumvent this problem.

Value

List of lattice objects

See Also

Other graphical devices: plotAutoco, plotBox, plotHeatmap, plotHist, plotIGFit, plotScatter

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## load dataset
data(ex_dataMatrix)

## plot raw data
plot3d(plotMatrix = ex_dataMatrix, plotCols = 5:10,
plotName = 'Example', plateRows = 8, plateCols = 10)
## normalize data matrix using any method and store in new variable
ex_normMatrix <- normZ(dataMatrix = ex_dataMatrix, dataCols = 5:10)
## plot normalized data
plot3d(plotMatrix = ex_normMatrix, plotName = 'Example',
plateRows = 8, plateCols = 10)

sights documentation built on Nov. 8, 2020, 7:20 p.m.