-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
[Feature Request]: Standardized results datasets #1172
Comments
Do you have a general document for best practices in QC that we could include? I don't know which are the best practices here too, and writing the vignette w/o clear reference is not advisable imo.
I think
@BFalquet have you something already in?
It is all respected, but the characters limit, which I do not see the need for nowadays with current machines and UTF-8 standards.
Maybe @edelarua knows best, but I think it is like this in {tern}, but when it is tabulated, this direct relation is lost, i.e. it is maintained by the inserted labels and so on.
This could be achieved by attaching metadata to the pdf, maybe? Extracting data from ggplot objects can be done with
I think this makes total sense, and it should be in place to some extent. Right, @BFalquet? |
Regarding your previous point @Melkiades, for the NULL report, the current behavior is:
We haven't decided on a solution for the plot data yet. You could change the plotting function to attach it to the resulting object (not to the pdf) and then creating a getter function (conveniently called |
@Melkiades, most (probably all) tern statistic functions currently return named lists of statistics, which I think should be fine. |
@Melkiades please see my reply here:
What I had in mind here was something very simple. Just a vignette example showing what functions can be used to extract the results data from a plot or a table that users can quickly review and share. For full background info I shared the Roche QC guidelines on the NEST SME gDrive since those are confidential. Feel free to message me directly with any questions.
This is not as important as some of the other things on this feature request.
I was thinking something simple like a warning similar to Right now the column labels in rtables are very flexible. In the example below column “A+C” would be a valid name for rtables but the exported
There is definitely room for improvement. Here is a basic example showing how occasionally labels are present. I think all tern functions return named lists but here I'm asking for named vectors. Note how only
|
Feature description
Use case: it’s useful to be able to output tables or plots to a flat / rectangular dataset structure to enable QC via double programming. For very large tables or plots, manual comparison of number is not feasible.
Some wishlist ideas to be refined further…
rtables::as_results_df()
creates a data.frame which includes list columns.tidyr::unnest_longer()
)?tern
/tern.s
should return labelled vectors. That way when cells with multiple values are un-nested, the labels can be used to distinguish what each statistic represents.chevron
(should a dataset be generated, where should it saved, etc).Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: