createSELCalculatedResults | R Documentation |
The return structure represents the standard inputs of the "Calculated Results" section of SEL
createSELCalculatedResults(calculatedResults,
corporateIDColumn = "Corporate Batch ID", dataTypes = NULL,
ls_kinds = NULL, unit_kinds = NULL)
dataTypes |
optional character with length equal to ncol(calculatedResultDataFrame) with the data types for each column |
ls_kinds |
optional character with length equal to ncol(calculatedResultDataFrame) with the ls_kinds for each column |
unit_kinds |
optional character with length equal to ncol(calculatedResultDataFrame) with the unit_kinds for each column |
calculatedResultDataFrame |
a data.frame (or data.table) of calculated results |
data.frame representing the most common inputs to the SEL calculated results section
#Basic Example
cars2 <- cars
cars2$Sample <- paste0("CORP",1:nrow(cars))
createSELCalculatedResults(cars2, corporateIDColumn = "Sample")
#This gives warning that "Corporte Batch ID" not found
createSELCalculatedResults(cars)
#Additional Features
createSELCalculatedResults(cars2, corporateIDColumn = "Sample", dataTypes = c("Number","Text"))
createSELCalculatedResults(cars2, corporateIDColumn = "Sample", unit_kinds = c("miles per hour", "kilometers"))
createSELCalculatedResults(cars2, corporateIDColumn = "Sample", ls_kinds = c("IC50", "Max Efficacy"), unit_kinds = c("uM", "%"))
createSELCalculatedResults(cars2, corporateIDColumn = "Sample", ls_kinds = c("IC50 (still includes this)", "Max Efficacy"), unit_kinds = c("uM", "%"))
#Error handling
createSELCalculatedResults(cars2, corporateIDColumn = "Some Garbage")
createSELCalculatedResults(cars2, corporateIDColumn = "Sample", dataTypes = "Some Garbage")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.