toxboottoxbootQueryToxCast passes .
toxbootQueryToxCast(aeids)integer vector contains which aeids to query. Values will be passed to tcplLoadData.
dat, a data.table corresponding to the level 3 data for the aeids
  with columns added for m4id and bmad.
Because bmad is calculated for all chemicals in the assay,
  the entire aeid must be queried. After calculation of bmad chemicals
  can be further subset prior to running toxboot.
The assumption is that tcplConf has been setup to pull data
  from the correct database.