Open cicdguy opened 3 years ago
@nestcicd you can now push to this repo
Provenance:
Creator: waddella
Needs discussion because analysis needs access to unfiltered ADSL dataset and filtered ADAE dataset. We may disable filtering ADSL, only ADAE is allowed to be filtered. Full join is still required and it is needed to identify the rows from ADSL.
Provenance:
Creator: mordigm
See branch 216_brg01
. Current screenshot of app, (most important: encoding panel)
@mordigm I am running the tm_g_barchart_simple example in a docker container and I get the following error and no bar chart is displayed. tm_g_barchart_simple
In display Tried to evaluate following code: { plot <- plot + scale_y_continuous(labels = comma, expand = expand_scale(c(0, 0.5)))} Got following error message: object 'comma' not found
Provenance:
Creator: npaszty
@npaszty Updated. Now the interface looks as follows:
@mordigm
I pulled and re-built the branch this morning but I don't see the same interface as what is in the screen shot above. It's also very difficult to provide feedback if I can't play around with the app and verify the calcs in the visualization. Still getting the evaluation error which I believe is related to show R code related statements. Based on bullet #3 perhaps all the show R code statement should be removed until we complete the review?
Provenance:
Creator: npaszty
@npaszty I don't have any ShowRCode related functionality, are you on the right branch 216_brg01
? I suggest we talk today to solve these issues together. Sent you an invite.
Provenance:
Creator: mordigm
@mordigm
I only ran the visualizations and verifications for ADAE.
I think the user guide and table are helpful. Not sure what #5. means in the user guide. table persists when using or not using fill. maybe it's not functional yet.
I think overall this is more intuitive but it still took me a bit to figure things out. encoding panel labeling modifications will be helpful for this. x is really the study denominator data set and fill is the domain denominator data set and controls grouping. even if you pick "ADSL" as fill data set the counts are number of subjects with event in the ADAE domain in this case.
didn't see how the aggregate function affects output.
Perhaps another way to approach the bar chart is to think about the types of data sets that we have in ADaM. This could be an events domain module and would work for CM and MH. for labs you create a separate module which would work for other BDS analysis data sets. Realize this ties us to ADaM definitions at this point but teal.modules.clinical has that dependency.
Hope this helps.
Provenance:
Creator: npaszty
The aggregation table is not yet implemented, I will do this, so point 5 will be reality once implemented. Were you able to reproduce examples 6 and 7 (numbers according to tlg-catalog)?
I realized that example 5 is also possible (important components highlighted in red):
@mordigm
Is there a way to remove the NA level from the plot? It doesn't appear to be a level in the filter panel.
@npaszty I pushed.
Y axis note is not super clear. If no Column is selected then the number of patients from the Primary Grouping Dataset is counted?
--> Yes (so do we need a change?)Provenance:
Creator: mordigm
@npaszty Next steps:
Provenance:
Creator: mordigm
@mordigm not sure what happened but I lost all the changes I made to my sub branch. gotta start over. I have bandwidth tomorrow. apologies
Provenance:
Creator: npaszty
@mordigm
I think what happened to my work was that I removed the container in which it was done. lesson learned. Anyway updates pushed to my branch. will need to update the notes under the bar chart but will do that after we discuss feedback.
I think I've made some headway towards a more intuitive interface. I've rearranged some things and broken some things but the I'd like to discuss the concept with you on the approach and then fix the aggregate UI object. I think that will bring us to the finish line and we'll include this in the UAT which is our next sprint. Here are the essentials.
One enhancement I'd like is to be able to control the y-axis range. If multiple bar charts are generated then consistent y-axis range is important so that bar charts can be placed side-by-side on a slide and the y-axis ranges need to be the same for this. This slider can be added to the "Plot Settings" panel.
I know this is a lot but I think one of the challenges towards creating an intuitive interface is the essential duplication of the "Dataset" and "Column(s)" objects. I don't think we need this and perhaps it means we can't use the data_extract_spec function.
Provenance:
Creator: npaszty
@npaszty
I pushed again.
You can think about how to update the Notes:
section in the Shiny app, I haven't added your changes to this section.
The y-range can now be set dynamically or manually so you can compare different graphs with the same y ranges.
Provenance:
Creator: mordigm
@mordigm thanks Max. I think we're getting there on intuition but have some items missing to be able to create all 9 bar charts.
the two items we need to bring back are the ability to create secondary grouping for ADSL for bar chart 6 & 7 and the slider that used to be there. almost there!
Provenance:
Creator: npaszty
@npaszty
I would then recommend removing the checkbox again from "Primary Count Dataset" and adding back the "Secondary grouping" below Primary Count Dataset. Adding a checkbox is not possible for primary grouping because the column needs to be selected for secondary grouping (e.g. SEX, COUNTRY, or similar). Regarding highest/lowest, these can be adapted to work for more use cases. For ADLB, this selection does not appear.
Which slider are you talking about? I removed the slider to adjust the y scale by a percentage and instead added a slider to specify the y range.
When no column is selected in the count dataset, you still need to select a column from this dataset. The column you select should not contain NA. A patient is counted whenever its value in the column is not NA. Internally, since the datasets are merged, this is used to identify which patients are only in ADSL and not ADAE. I would leave it as it is. Anyways, the plot title changes to warn about the unfiltered dataset.
Provenance:
Creator: mordigm
@mordigm General
STREAM Barcharts
almost there!
Provenance:
Creator: npaszty
@npaszty
Provenance:
Creator: mordigm
@mordigm From your chat: should I now make it ready for the release? I have already started cleaning up a bit, but still need to do some work if we want to include it.
Let's plan on UATing with the rest of the items for the release sprint. I'm still not clear on how we will handle the low/high bit.
Provenance:
Creator: npaszty
@mordigm can you tell me where we're at with the bar chart module low/high bit?
Provenance:
Creator: npaszty
@npaszty I cleaned the code, devtools check passes, but yet needs to be merged into pre-release. low/high is not resolved yet, I talked to Adrian about it, but we couldn't get to an agreement. The change is non-negligible and we may only include it in the next release. I have already built a small prototype. For me, it makes sense to put this highest/lowest to the right panel, it does not belong to the left encoding panel. Here is a screenshot:
I created two PRs, towards pre-release and devel. The PR to pre-release has merge conflicts, to devel works.
Provenance:
Creator: mordigm
@mordigm okay thanks. sorry didn't get to this today due to UAT of other stuff. It sounds like this is going to move out of this sprint. Adrian and I have a meeting tomorrow to go over the release print project board.
Provenance:
Creator: npaszty
as to per @npaszty