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

renderMeltCurves(inputId, label = NULL, meltCurves,
  fluorColumn = "fluor", 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. Columns hideCurve and highlightCurve defines which curve will be hidden or highlighted respectively.

fluorColumn

Column name that contains fluorescence values (can be diffFluor for derivative curves).

colorBy

Column name that contains color levels data.

linetypeBy

Column name that contains linetype levels data.

showTm

Shows Tm with dots (tm and quantFluor columns 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: renderADplot(), renderAmpCurves()

Author

Konstantin A. Blagodatskikh <k.blag@yandex.ru>

Examples

library(RDML)
rdml <- RDML$new(system.file("/extdata/test.rdml", package = "shinyMolBio"))
#> 
#> Loading experiment: All Wells
#> 	run: Amp Step 3_FAM
#> 
#> 	run: Amp Step 3_HEX
#> 
#> Combining Bio-Rad runs
curves <- renderMeltCurves("curves1", meltCurves = rdml$GetFData(dp.type = "mdp",
 long.table = TRUE))
#> Error: Assertion failed. One of the following must apply:
#>  * checkClass(out): Must inherit from class 'adpsType', but has class
#>  * 'NULL'
#>  * checkClass(out): Must inherit from class 'mdpsType', but has class
#>  * 'NULL'
curves
#> Error: object 'curves' not found