R one liner

2023/11/22

rename all column names with an suffix

H3K27acCounts_RBpeaks %>% 
  mcols %>% 
  as_tibble %>% 
  dplyr::select(Conc:FDR,ID) %>% 
  rename_with(.cols = everything(), function(x){paste0(x, "_H3K27ac")})