mikeblazanin / gcplyr

gcplyr is an R package that facilitates wrangling and analysis of microbial growth curve data
https://mikeblazanin.github.io/gcplyr/
Other
28 stars 2 forks source link

Add note that lag_time has a minimum value of min(x[!is.na(x) & !is.na(y)]) #200

Closed mikeblazanin closed 4 months ago

mikeblazanin commented 5 months ago

This means that if the bacteria are growing exponentially from the beginning, but you have some NA values, the lag_time might actually be 0

Probably should pass a warning whenever lag_time is less than the non-NA data values, because it means there's no detectable lag time from the non-NA values

mikeblazanin commented 5 months ago

Or should lag_time be reported relative to the non-NA values? i.e. just among the non-NA values? maybe have an option for relative calculation?

mikeblazanin commented 4 months ago

Also should check when min(y) != min[y[!is.na(x) & !is.na(y)] and warn when they are not equal