correctAuto: Plate correction using autoregressive model

View source: R/correctAuto.R

correctAutoR Documentation

Plate correction using autoregressive model

Description

Performs correction on a plate using an autoregressive model as a basis. In short, a autoregressive model is used where the eight closest neighbours of each colonie are used to make the correction (a queen pattern). It is highly recommended to standardize the data before performing the analysis. The function standardize was designed to perform plate standardization.

Usage

correctAuto(mat, diagWeight = 1/sqrt(2))

Arguments

mat

Matrix presenting the data gathered from a plate. See details.

diagWeight

The weight used for the colonize located diagonally of the focal colony. Default is one over the square-root of 2.

Details

The argument mat is a matrix that has the same organisation as the plate to be corrected.

In this function it is assume that closest neighbour of each colonie (up-down and left-right) are have the strongest influence and as such have a weight of 1, in this respect, the values given diagWeight have to be smaller or equal to 1. Conversely, a negative weight does not make sense either.

Value

A matrix with the same dimensions as mat but with the data corrected for edge effect problems.

Author(s)

F. Guillaume Blanchet


guiblanchet/plateCorrect documentation built on May 14, 2022, 12:10 a.m.