Skip to content

Commit

Permalink
copied AE tools from EDCimport
Browse files Browse the repository at this point in the history
  • Loading branch information
DanChaltiel committed Sep 12, 2024
1 parent fddd520 commit dc4beff
Show file tree
Hide file tree
Showing 4 changed files with 1,211 additions and 1 deletion.
99 changes: 99 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# Generated by roxygen2: do not edit by hand

S3method(flextable::as_flextable,ae_table_soc)
export("%>%")
export(ae_plot_grade)
export(ae_plot_grade_max)
export(ae_plot_grade_n)
export(ae_plot_grade_sum)
export(ae_plot_soc)
export(ae_table_grade)
export(ae_table_grade_max)
export(ae_table_grade_n)
export(ae_table_soc)
export(butterfly_plot)
importFrom(cli,cli_abort)
importFrom(cli,cli_warn)
importFrom(dplyr,across)
importFrom(dplyr,any_of)
importFrom(dplyr,arrange)
importFrom(dplyr,case_match)
importFrom(dplyr,case_when)
importFrom(dplyr,count)
importFrom(dplyr,cur_column)
importFrom(dplyr,cur_group)
importFrom(dplyr,distinct)
importFrom(dplyr,filter)
importFrom(dplyr,full_join)
importFrom(dplyr,if_else)
importFrom(dplyr,lag)
importFrom(dplyr,lead)
importFrom(dplyr,left_join)
importFrom(dplyr,mutate)
importFrom(dplyr,n)
importFrom(dplyr,na_if)
importFrom(dplyr,pull)
importFrom(dplyr,recode)
importFrom(dplyr,rename)
importFrom(dplyr,rename_with)
importFrom(dplyr,select)
importFrom(dplyr,setdiff)
importFrom(dplyr,summarise)
importFrom(dplyr,transmute)
importFrom(forcats,as_factor)
importFrom(forcats,fct_infreq)
importFrom(forcats,fct_relevel)
importFrom(forcats,fct_reorder)
importFrom(ggplot2,aes)
importFrom(ggplot2,element_blank)
importFrom(ggplot2,element_text)
importFrom(ggplot2,facet_grid)
importFrom(ggplot2,facet_wrap)
importFrom(ggplot2,geom_bar)
importFrom(ggplot2,geom_blank)
importFrom(ggplot2,geom_col)
importFrom(ggplot2,ggplot)
importFrom(ggplot2,labs)
importFrom(ggplot2,position_dodge)
importFrom(ggplot2,position_fill)
importFrom(ggplot2,position_stack)
importFrom(ggplot2,scale_fill_steps)
importFrom(ggplot2,scale_x_continuous)
importFrom(ggplot2,scale_y_continuous)
importFrom(ggplot2,scale_y_discrete)
importFrom(ggplot2,theme)
importFrom(ggplot2,unit)
importFrom(ggplot2,vars)
importFrom(ggplot2,waiver)
importFrom(glue,glue)
importFrom(lifecycle,deprecate_warn)
importFrom(magrittr,"%>%")
importFrom(purrr,iwalk)
importFrom(purrr,keep)
importFrom(purrr,map)
importFrom(purrr,map_int)
importFrom(purrr,map_lgl)
importFrom(rlang,arg_match)
importFrom(rlang,check_dots_empty)
importFrom(rlang,check_installed)
importFrom(rlang,ensym)
importFrom(rlang,int)
importFrom(rlang,is_empty)
importFrom(rlang,set_names)
importFrom(scales,label_percent)
importFrom(stats,na.omit)
importFrom(stringr,str_detect)
importFrom(stringr,str_remove)
importFrom(stringr,str_replace_all)
importFrom(stringr,str_starts)
importFrom(tibble,as_tibble_col)
importFrom(tibble,as_tibble_row)
importFrom(tibble,deframe)
importFrom(tibble,lst)
importFrom(tidyr,build_wider_spec)
importFrom(tidyr,pivot_longer)
importFrom(tidyr,pivot_wider_spec)
importFrom(tidyr,replace_na)
importFrom(tidyr,separate_wider_regex)
importFrom(tidyr,unnest)
importFrom(tidyselect,matches)
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ Clinical Research tools. See documentation at <https://Oncostat.github.io/grstat
#### New features

- Adverse events description tables: `ae_table_grade()` and `ae_table_soc()`
- Adverse events description plots: `ae_plot_grade()`, `ae_plot_grade_sum()` and `ae_plot_soc()`
- Adverse events description plots: `ae_plot_grade()`, `ae_plot_grade_sum()` and `butterfly_plot()` (aka `ae_plot_soc()`)

Loading

0 comments on commit dc4beff

Please sign in to comment.