Learn R Programming

shinyMolBio (version 0.2)

renderMeltCurves: Renders a melting curves viewer

Description

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

Usage

renderMeltCurves(inputId, label = NULL, meltCurves, colorBy = NULL,
  linetypeBy = NULL, showTm = FALSE, showLegend = FALSE, 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.

meltCurves

Melting curves data with RDML$GetFData(dp.type = "mdp", long.table = TRUE) format.

colorBy

Column name that contains color levels data.

linetypeBy

Column name that contains linetype levels data.

showTm

Shows Tm with dots (tm column have to be provided!)

showLegend

Show plot legend.

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: renderAmpCurves

Examples

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

Run the code above in your browser using DataLab