From ff55ac4d0ddd3e2102ba9c85b35f5826da79c042 Mon Sep 17 00:00:00 2001 From: Tony Wu Date: Wed, 22 Apr 2026 09:15:56 -0400 Subject: [PATCH] fix(turnover): parse timepoint out of tracer constants --- R/protein_turnover_ratio_helper.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/protein_turnover_ratio_helper.R b/R/protein_turnover_ratio_helper.R index 2be9f0c..33c5bc0 100644 --- a/R/protein_turnover_ratio_helper.R +++ b/R/protein_turnover_ratio_helper.R @@ -147,6 +147,8 @@ calculateTurnoverRatios <- function( if (is.null(tracer_constants)) { stop("normalize_tracer = TRUE but tracer_constants was not provided") } + + names(tracer_constants) = as.character(parse_timepoint(names(tracer_constants))) df_wide <- df_wide %>% mutate(