Skip to content

Commit

Permalink
fix column name error
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsontom committed Jun 21, 2024
1 parent 2973ad0 commit e4c9486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pooling_sheet.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pooling_sheet <- function(ri_data, norm_value, volume)

water_only <-
ri_data_all %>% dplyr::select(-value,-urine_volume) %>%
dplyr::group_by(sample_id) %>% dplyr::summarise(water = sum(water_volume))
dplyr::group_by(sample_name) %>% dplyr::summarise(water = sum(water_volume))


pooling_final <- urine_only %>% dplyr::left_join(., water_only, by = 'sample_id')
Expand Down

0 comments on commit e4c9486

Please sign in to comment.