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

Closes #12 Add PK ADaM templates #15

Merged
merged 11 commits into from
Nov 17, 2023
Merged

Conversation

jeffreyad
Copy link
Collaborator

No description provided.

@jeffreyad jeffreyad linked an issue Oct 25, 2023 that may be closed by this pull request
@jeffreyad jeffreyad requested a review from bms63 October 25, 2023 21:49
@bms63
Copy link
Collaborator

bms63 commented Oct 26, 2023

What do you think about ignoring the xpt, rds and csv files? Unless the user needs access to them? Just could ballon the size of the repo as we add more examples.

Changed a few pieces in the homepage

@rossfarrugia
Copy link
Contributor

What do you think about ignoring the xpt, rds and csv files? Unless the user needs access to them? Just could ballon the size of the repo as we add more examples.

Changed a few pieces in the homepage

@jeffreyad any comments? from my perspective i find the xls useful as people will value seeing the example spec but i think we could avoid showing how to write the rds and xpt at the end. eg see the end of https://pharmaverse.github.io/examples/adam/ADSL.html where it shows the function that could create the xpt but we dont call it in the example.

Copy link
Contributor

@rossfarrugia rossfarrugia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeffreyad some comments from my review so far. my general comment though is that i think here we repeat a lot of whats in the admiral vignette https://pharmaverse.github.io/admiral/cran-release/articles/pk_adnca.html and templates. take a look at https://pharmaverse.github.io/examples/adam/ADSL.html in comparison where the focus is more on showing how admiral can be used in conjunction with the other packages and then the admiral bits themselves are minimal as people can just read the admiral vignette. my general concern with your approach is the level of maintenance required as we'd need to keep twice the number of full templates and instruction guides maintained (one for only admiral and one with the other packages added). what do you think here? i dont really have any masterplan here but in my head i was thinking not to repeat things too much here if they already exist in the individual package sites.

adam/adpc.qmd Outdated

| ADaM | Sample Code |
|--------------------|----------------------------------------------------|
| ADPC | [ad_adpc_spec.R](https://github.com/pharmaverse/e2e_pk/blob/main/ad_adpc_spec.R){target="_blank"} |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should all links reference this repo instead now? as i guess the e2e_pk one could be superseded by this now at some stage

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also do we need to give a template here? as to me this is extra maintenance with the templates already available from admiral

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think we can remove this

adam/adpc.qmd Show resolved Hide resolved
adam/adpc.qmd Show resolved Hide resolved
adam/adpc.qmd Outdated Show resolved Hide resolved
adam/adpc.qmd Outdated Show resolved Hide resolved
adam/adpc.qmd Show resolved Hide resolved
adam/adpc.qmd Outdated Show resolved Hide resolved
@rossfarrugia
Copy link
Contributor

Also @jeffreyad 1 more comment - maybe add some head(adxxx, n=10) calls like in the ADSL example so you can see the ADaM being built up at each step.

@jeffreyad
Copy link
Collaborator Author

Also @jeffreyad 1 more comment - maybe add some head(adxxx, n=10) calls like in the ADSL example so you can see the ADaM being built up at each step.

Hi @rossfarrugia thanks for reviewing! I'll take a look

@bms63
Copy link
Collaborator

bms63 commented Nov 3, 2023

@jeffreyad some comments from my review so far. my general comment though is that i think here we repeat a lot of whats in the admiral vignette https://pharmaverse.github.io/admiral/cran-release/articles/pk_adnca.html and templates. take a look at https://pharmaverse.github.io/examples/adam/ADSL.html in comparison where the focus is more on showing how admiral can be used in conjunction with the other packages and then the admiral bits themselves are minimal as people can just read the admiral vignette. my general concern with your approach is the level of maintenance required as we'd need to keep twice the number of full templates and instruction guides maintained (one for only admiral and one with the other packages added). what do you think here? i dont really have any masterplan here but in my head i was thinking not to repeat things too much here if they already exist in the individual package sites.

I think this is fine to cut out out a lot of the admiral discussion and focus more on how the packages work together.

@bms63
Copy link
Collaborator

bms63 commented Nov 3, 2023

Also @jeffreyad 1 more comment - maybe add some head(adxxx, n=10) calls like in the ADSL example so you can see the ADaM being built up at each step.

I'm sort of interested in using reactable or DT to render the tables - the outputs look a little sad right now :( Maybe we could add this to the backlog for a later update??

@rossfarrugia
Copy link
Contributor

I'm sort of interested in using reactable or DT to render the tables - the outputs look a little sad right now :( Maybe we could add this to the backlog for a later update??

fair @bms63 - i added #17 for this.

adam/adpc.qmd Show resolved Hide resolved
@bms63
Copy link
Collaborator

bms63 commented Nov 16, 2023

Hey @rossfarrugia I think @jeffreyad has made all the required changes. Can we merge to main?

@rossfarrugia
Copy link
Contributor

@jeffreyad i spotted one of the threads has reply "Still need to make this change" so is this one ready for re-review or are you still actively updating? @bms63 happy to take another look once Jeff confirms and then hopefully get this one merged and live on the site.

@jeffreyad
Copy link
Collaborator Author

@jeffreyad i spotted one of the threads has reply "Still need to make this change" so is this one ready for re-review or are you still actively updating? @bms63 happy to take another look once Jeff confirms and then hopefully get this one merged and live on the site.

@rossfarrugia thanks, this update is complete.

@rossfarrugia rossfarrugia merged commit c9740fd into main Nov 17, 2023
1 check passed
@rossfarrugia rossfarrugia deleted the 12_Add_PK_ADaM_templates branch November 17, 2023 15:03
@rossfarrugia
Copy link
Contributor

@jeffreyad examples are live on the site now - thanks for all the efforts! i made a couple of minor commits above for small fixes. please take a look and let me know if you see any further updates needed.

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

Successfully merging this pull request may close these issues.

Add PK ADaM templates
3 participants