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

Review teal.reporter in tmc (10) #560

Closed
6 tasks done
shajoezhu opened this issue Aug 16, 2022 · 11 comments
Closed
6 tasks done

Review teal.reporter in tmc (10) #560

shajoezhu opened this issue Aug 16, 2022 · 11 comments
Assignees
Labels

Comments

@shajoezhu
Copy link
Contributor

shajoezhu commented Aug 16, 2022

Motivation

This issue is meant to review and comment on the follow tmc reporter.

Todo

  • tm_a_mmrm.R
  • tm_g_barchart_simple.R
  • tm_g_ci.R
  • tm_g_forest_tte.R
  • tm_g_km.R
  • tm_g_lineplot.R

Please see #551 for example

@shajoezhu shajoezhu added the sme label Aug 16, 2022
@edelarua edelarua self-assigned this Aug 17, 2022
@edelarua
Copy link
Contributor

edelarua commented Aug 17, 2022

General teal.reporter notes:

  • EDIT: No issues with interface.

@edelarua
Copy link
Contributor

edelarua commented Aug 17, 2022

tm_a_mmrm

  • Typo on card subtitle: "Mixed Models procedure analyzes results from repeated measures designsin which the outcome is continuous and measured at fixed time points"
  • Fields not indicated on cards:
    • Analysis Variable
    • Covariates (except for in the Fixed effects table)
    • Subject Identifier
    • Weights for LS means
    • Correlation Structure
    • Optimization Algorithm
    • Show Relative Change (LS means table)

@edelarua
Copy link
Contributor

tm_g_barchart_simple

  • Looks great - all info is included in the plot

@edelarua
Copy link
Contributor

edelarua commented Aug 17, 2022

tm_g_ci

@edelarua
Copy link
Contributor

edelarua commented Aug 17, 2022

tm_g_forest_tte

  • Field not indicated on cards:
    • Stratify by

@edelarua
Copy link
Contributor

edelarua commented Aug 17, 2022

tm_g_km

  • Fields not indicated on cards:
    • p-value method for Coxph (Hazard Ratio)
    • Ties for Coxph (Hazard Ratio)

@edelarua
Copy link
Contributor

tm_g_lineplot

  • Good - all info is included in the plot

@edelarua
Copy link
Contributor

edelarua commented Aug 17, 2022

Unrelated to teal.reporter - notes for SME team:

  • tm_a_mmrm: When "Show Relative Change" is set to none, the first column header disappears from the table.
  • tm_g_ci: "Treatment Group" text in plot title and x-axis label should be changed to the actual selected treatment variable name.
  • tm_g_forest_tte: When table is too wide, information is cut-off and not visible.

@shajoezhu just a few things I noticed while going through the functions for teal.reporter. Let me know if I should create issues for any of these.

@shajoezhu
Copy link
Contributor Author

Unrelated to teal.reporter - notes for SME team:

  • tm_a_mmrm: When "Show Relative Change" is set to none, the first column header disappears from the table.
  • tm_g_ci: "Treatment Group" text in plot title and x-axis label should be changed to the actual selected treatment variable name.
  • tm_g_forest_tte: When table is too wide, information is cut-off and not visible.

@shajoezhu just a few things I noticed while going through the functions for teal.reporter. Let me know if I should create issues for any of these.

Thanks so much @edelarua! yes, please spin up some issues on these three items.

We will revisit teal.reporter iteam as a whole, and catch-up with the core-dev team. Thanks!

@Melkiades
Copy link
Contributor

Melkiades commented Aug 18, 2022

General teal.reporter notes:

  • "Show R Code" is listed twice with the first one blank (possibly just for me?)
  • Filtering by a continuous variable returns undescriptive info in Filter State section. I would suggest adding text to indicate that the first value is the minimum in the filtered range and the second is the maximum. i.e. When filtering AGE to include range 10-20, cards return:
AGE:
    selected:
    - 10.0
    - 20.0
    keep_na: no
    keep_inf: no

I tried to look specifically for these two problems and in my case it was understandable and no duplication of show r code was present:

Filters for dataset: ADSL
  Filtering on: COUNTRY
    Selected values: CHN USA BRA PAK RUS JPN GBR CAN
    Include missing values: FALSE
Filters for dataset: ADCM
  Filtering on: ADURN
    Selected range:   0.000 - 171.000
    Include missing values: FALSE
  Filtering on: ASTDTM
    Selected range: 2019-03-17 01:00:00 - 2020-02-13 01:00:00
    Include missing values: FALSE

@edelarua
Copy link
Contributor

edelarua commented Aug 18, 2022

General teal.reporter notes:

  • "Show R Code" is listed twice with the first one blank (possibly just for me?)
  • Filtering by a continuous variable returns undescriptive info in Filter State section. I would suggest adding text to indicate that the first value is the minimum in the filtered range and the second is the maximum. i.e. When filtering AGE to include range 10-20, cards return:
AGE:
    selected:
    - 10.0
    - 20.0
    keep_na: no
    keep_inf: no

I tried to look specifically for these two problems and in my case it was understandable and no duplication of show r code was present:

Filters for dataset: ADSL
  Filtering on: COUNTRY
    Selected values: CHN USA BRA PAK RUS JPN GBR CAN
    Include missing values: FALSE
Filters for dataset: ADCM
  Filtering on: ADURN
    Selected range:   0.000 - 171.000
    Include missing values: FALSE
  Filtering on: ASTDTM
    Selected range: 2019-03-17 01:00:00 - 2020-02-13 01:00:00
    Include missing values: FALSE

In that case I am probably using an outdated version of some necessary package. I updated my packages beforehand so I'm not sure why the issue occurred but I'll try to update again and hopefully that fixes it.

EDIT: All looks good now. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants