shinyMolBio (version 0.2)

renderAmpCurves: Renders an amplification curves viewer

Description

Renders a reactive PCR amplification plot that is suitable for assigning to an UI output slot.

Usage

renderAmpCurves(inputId, label = NULL, ampCurves, colorBy = NULL,
  linetypeBy = NULL, logScale = FALSE, showCq = FALSE, showLegend = FALSE,
  thBy = NULL, plotlyCode = NULL, cssFile = NULL, cssText = NULL,
  interactive = TRUE)

Arguments

inputId

The input slot that will be used to modify plot.

label

Display label for the control, or NULL for no label.

ampCurves

Amplification curves data with RDML$GetFData(long.table = TRUE) format.

colorBy

Column name that contains color levels data.

linetypeBy

Column name that contains linetype levels data.

logScale

Converts plot to log(RFU).

showCq

Shows Cq with dots (cq column have to be provided!).

showLegend

Show plot legend.

thBy

Column name that separates threshold values (quantFluor column have to be provided!).

plotlyCode

Your quoted custom plotly code.

cssFile

Path to the css styles file.

cssText

CSS styles as text.

interactive

Should be this pcrPlate interactive or not.

See Also

updateCurves

Other render elements: renderMeltCurves

Examples

Run this code
# NOT RUN {
library(RDML)
rdml <- RDML$new(system.file("/extdata/test.rdml", package = "shinyMolBio"))
curves <- renderAmpCurves("curves1", ampCurves = rdml$GetFData(long.table = TRUE))
curves[[2]][[3]][[2]]
# }

Run the code above in your browser using DataLab