plotIGFit: Inverse gamma

View source: R/plotIGFit.R

plotIGFitR Documentation

Inverse gamma

Description

Plot an inverse gamma fit plot for all plates together

Usage

plotIGFit(plotMatrix, repIndex, plotRows = NULL, plotCols = NULL,
  plotName = NULL, ...)

Arguments

plotMatrix

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

repIndex

Optional. Vector of labels indicating replicate group. Each index in the vector matches the corresponding column of plotMatrix. If NULL then all plates are plotted together without grouping.

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.

...

Optional. Additional parameters passed to geom_step.

Details

Inverse gamma fit plot can be used to check if RVM test (statRVM) assumptions are valid and it can be applied to the data.

Value

Modifiable ggplot2 object

See Also

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

Examples

## load dataset
data(ex_dataMatrix)

## normalize data matrix using any method and store in new variable
ex_normMatrix <- normSights(dataMatrix = ex_dataMatrix, dataCols = 5:10,
normMethod = 'normZ')
## plot normalized data
plotIGFit(plotMatrix = ex_normMatrix, repIndex = c(1,1,1,2,2,2),
plotName = 'Example')


eg-r/sights documentation built on Jan. 28, 2023, 12:17 a.m.