reactType R6 class.

Description

A reaction is an independent chemical reaction corresponding for example to a well in a 96 well plate, a capillary in a rotor, a through-hole on an array, etc. Inherits: rdmlBaseType.

Usage

1

Format

An R6Class generator object.

Details

The ID of this reaction

Schemas :

  • rotor : assign IDs according to the position of the sample on the rotor (1 for the 1st sample, 2 for the 2nd, ...)

  • plate (96/384/1536 well) : the IDs are assigned in a row-first/column-second manner. For each row, the samples are numbered according to the increasing column number. At the end of a row, the numbering starts at the first column of the next row. An example for this type of plate can be found below :

    1 2 3 ...
    A 1 2 3
    B 13 14
    ...

    or

    1 2 3 ...
    1 1 2 3
    2 13 14
    ...
  • multi-array plate (BioTrove) : the IDs are assigned in a row-first/column-second manner, ignoring the organisation of sub-arrays. For each row, the samples are numbered according to the increasing column number. At the end of a row, the the next row. An example for this type of plate can be found below : todo...

Initialization

reactType$new(id, sample, data = NULL)

Fields

id

reactIdType. See 'Details'.

sample

idReferencesType. SampleID - A reference to a sample.

data

list of dataType.

Methods

AsDataFrame(dp.type = "adp")

Represents amplification (dp.type = "adp") or melting (dp.type = "mdp") data points of all targets as one data.frame

Position(pcrformat)

Converts react id to thew human readable form (i.e. '13' -> 'B1'). pcrFormat is pcrFormatType. Only for 'ABC' '123' format!

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.