Description Usage Arguments Details Value
tcpl_to_model_dat
preps tcpl output for model input.
1 | tcpl_to_model_dat(dat, pathway)
|
dat |
output from tcpl level 5 data |
pathway |
string, specify ER or AR |
# This function is to take a pipeline formatted data.table (long format, one m4id per row) and convert to the form needed by the ER model (one chemical per row, multiple columns for assays) Requires a tcplPrepOtpt(tcplLoadData()) formatted data.table also requires an assay_order (list of assay) so that NAs can be converted assumed already subset (one unique row per code)
dat_cast a data.table cast into the correct format for the model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.