Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AE specification subgroup analysis #160

Open
elong0527 opened this issue Jul 8, 2023 · 0 comments
Open

AE specification subgroup analysis #160

elong0527 opened this issue Jul 8, 2023 · 0 comments
Assignees

Comments

@elong0527
Copy link
Collaborator

elong0527 commented Jul 8, 2023

After looking the code in prepare_ae_specific_subgroup, I feel we need to talk about the function design @wangben718

  1. Is it possible to use extend_ae_specific_subgroup? that basically add an indicator to rerun prepare_ae_specific + extend_ae_specific + format_ae_specific in each subgroup?
extend_ae_specific_subgroup <- function(outdata, subgroup){
     outdata$subgroup <- subgroup 

    outdata
}
  1. Create an internal function called obtain_ae_specifc_subgroup. If outdata$subgroup is not null, we will rerun the code in each subgroup.

  2. Create an internal function called tlf_ae_specific_subgroup. If outdata$subgroup is not null, we will generate the TLFs using this internal function if user called tlf_ae_sepcific.

Benefit:

  1. all extended_ae_specific functions can be used
  2. can potentially extend the framework for ae_summary analysis in the future.
@elong0527 elong0527 changed the title Vignettes: add a AE subgroup analysis vignettes AE specification subgroup analysis Jul 8, 2023
LittleBeannie added a commit that referenced this issue Jul 12, 2023
@wangben718 wangben718 self-assigned this Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants