Renders a reactive allelic discrimination plot that is suitable for
assigning to an UI output
slot.
renderADplot(inputId, label = NULL, adData, targetColumn = "target.dyeId", xAxisTarget = "FAM", yAxisTarget = "HEX", valueColumn = "endPointRFU", colorBy = "genotype", polar = FALSE, showLegend = FALSE, plotlyCode = NULL, cssFile = NULL, cssText = NULL, interactive = TRUE)
inputId | The |
---|---|
label | Display label for the control, or |
adData | Allelic descrimination data with
|
targetColumn | Column name that contains axis splitting (dye or target). |
xAxisTarget | X axis target (dye) name. |
yAxisTarget | X axis target (dye) name. |
valueColumn | Column name that contains discrimination value (RFU or cq). |
colorBy | Column name that contains color levels data. |
polar | Enables polar coordinates. |
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 |
Other render elements:
renderAmpCurves()
,
renderMeltCurves()
#> #> Loading experiment: All Wells #> run: Amp Step 3_FAM #> #> run: Amp Step 3_HEX #> #> Combining Bio-Rad runstbl <- rdml$AsTable(endPointRFU = mean(tail(data$adp$fpoints$fluor, 5))) tbl <- group_by(tbl, position)#> Error in group_by(tbl, position): could not find function "group_by"tbl <- mutate(tbl, genotype = paste( if (endPointRFU[1] > 400 && endPointRFU[2] > 400) "AG" else if (endPointRFU[1] > 400) "AA" else if (endPointRFU[2] > 400) "GG" else "NA" ))#> Error in mutate(tbl, genotype = paste(if (endPointRFU[1] > 400 && endPointRFU[2] > 400) "AG" else if (endPointRFU[1] > 400) "AA" else if (endPointRFU[2] > 400) "GG" else "NA")): could not find function "mutate"renderADplot("f", "aa", tbl, polar = TRUE, showLegend = TRUE)#> Error in renderADplot("f", "aa", tbl, polar = TRUE, showLegend = TRUE): Assertion on 'colnames(adData)' failed: Must include the elements {position,target.dyeId,endPointRFU,genotype}.