Learn R Programming

ReadqPCR (version 1.18.0)

qpcR2CyclesSet: Transform a dataset from qpcR Package into CyclesSet

Description

Transform a dataset from package qpcR into an object of class "CyclesSet".

Usage

qpcR2CyclesSet(x, cyc = 1, cycleThreshold)

Arguments

x
the name of the dataset from package qpcR to be transformed.
cyc
the column number which contains cycle data.
cycleThreshold
maximum number of cycles which the data will be counted and transformed.

Value

"CyclesSet".

Details

Allows the user to transform a dataset from package qpcR into an object of class "CyclesSet" class, alongside phenotypic data.

References

Perkins, JR, Dawes, JM, McMahon, SB, Bennett, DL, Orengo, C, Kohl, M (2012). ReadqPCR and NormqPCR: R packages for the reading, quality checking and normalisation of RT-qPCR quantification cycle (Cq) data. BMC Genomics, 13, 1:296.

See Also

reps, CyclesSet-class

Examples

Run this code
  library(qpcR)

  ## Transform the reps dataset from qpcR Package 
  ## with maximum cycle to be read in the value is 45.
  repsdata <- qpcR2CyclesSet(reps, cyc=1, cycleThreshold=45)
  
  ## Transform the batsch1 dataset from qpcR Package 
  ## with maximum cycle to be read in the value is 40.
  batsch1data <- qpcR2CyclesSet(batsch1, cyc=1, cycleThreshold=40)

Run the code above in your browser using DataLab