plotIGFit: Inverse gamma

Description Usage Arguments Details Value See Also Examples

View source: R/plotIGFit.R

Description

Plot an inverse gamma fit plot for all plates together

Usage

1
2
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

1
2
3
4
5
6
7
8
9
## 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')

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