daynefiler / tcpl

Former repository for the tcpl R package project. New repo:
https://github.com/USEPA/CompTox-ToxCast-tcpl
4 stars 5 forks source link

tcplPlotPlate doesn't work for single conc data #13

Closed ericwatt closed 8 years ago

ericwatt commented 8 years ago
dnames <- names(dat)
if ("m1id" %in% dnames) {lvl <- 1L; idnm <- "acid"; vlnm <- "rval"}
if ("m2id" %in% dnames) {lvl <- 2L; idnm <- "acid"; vlnm <- "cval"}
if ("m3id" %in% dnames) {lvl <- 3L; idnm <- "aeid"; vlnm <- "resp"}
if (is.null(lvl)) stop("Invalid dat input.")

Can rows for s1id, s2id, etc in dnames be added so that single conc data can be plotted as well?

ericwatt commented 8 years ago

FYI, CONTRIBUTING.md says "Label your issue accordingly" but I don't have permissions to label issues here. I would assume this is an enhancement.

daynefiler commented 8 years ago

Thanks, Eric. I realized the labeling was not open to everyone after writing that I will fix it.