Giter Club home page Giter Club logo

aeexplorer's People

Contributors

dependabot[bot] avatar jwildfire avatar mhickle avatar nbryant avatar pburnsdata avatar qspencer avatar samussiah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aeexplorer's Issues

Reformat the `config.groups` setting

Specifying a list of group levels to be displayed (["Placebo","Treatment A"]) throws an error as shown.
screen shot 2017-03-29 at 12 46 17 pm

Hopefully this is just buggy error checking and the functionality actually works ok.

Bug in Headers

When showing Jack the new SE in Prod, we noticed that once we added sex and race to the groups, the header colors no longer matched the values below it.

Allow tables with no group variable

Not included in 3.0. Supported pre-3.0 with group:"All", but probably better to do it as an option now that we have the totalCol setting.

`filter:null` gives unexpected results

Current behaviour: If a user specifies filters:null the default filters are rendered.
Expected behaviour: If a user specifies filters:null no filters are rendered.

Side notes:

  • null is probably a more resonable default for filters
  • filter:[] doesn't render any filters (this is fine)

cc: @bzkrouse

Trouble Customizing Filters

aefeature

While customizing filters, I added a filter for sex and it flipped the colors and didn't give the new filter a header.

You also asked me to put "the code under the tech specs button" in here as well.

Update D3 compatability

Right now, the AE table requires D3 v3.3.6 or earlier due to a change in d3.merge() after that release.

Show # of Enrolled/Randomized Participants

Not sure the best way to handle this, but it would be good to have the number of relevant study participants shown somewhere on the chart. Maybe add a footnote for "X of X participants shown in this view"

Move definition of "No AE" flag to config

The tool requires placeholder rows for participants with no AEs. Those participants are identified by a custom keyword in the user-specified major and minor column. Currently the keywords are hard-coded in /src/chart/util/prepareData.js. We should move them to defaultSettings.js instead and let the user overwrite the default as desired.

Add ability to filter on both participants and events

Currently, the tool only supports filters on adverse event characteristics (e.g. severity). We need to bite the bullet and implement the ability for users to filter on characteristics that are related to participants (e.g. gender) as well.

Update naming conventions for settings object

Update chart arguments to be consistent with naming conventions of other safety charts. Keep support of previous argument names until next major release. This includes the following changes:

id -> id_col
major -> major_col
minor -> minor_col
group -> group_col
placeholderFlag -> missingValues
totalCol -> showTotalCol
diffCol -> showDiffCol
prefTerms -> showPrefTerms

Filters not behaving when raw data is stored as numeric

Not a problem with creating json via d3.csv() since everything is coerced to character, but can cause problems in other scenarios.

Fix is easy, just coerce the value to character here and here. This: return filter_d.currentValues.indexOf(rowData[filter_d.value_col])>-1 becomes this: return filter_d.currentValues.indexOf(""+rowData[filter_d.value_col])>-1

SAE Tabs on AE Page

Basically what is needed here is a way to prominently see and sort on SAEs (not simply embedded within AEs)
o Simple line listing would usually do
o Specific instruction to include SAEs as well as AEs

Also good would be to have a way (on the graphics site) to see which were SAEs
• line listing of SAEs (i.e., not necessarily differentiating AEs from SAEs within AE tables or graphs)
• some kind of highlighting of SAEs within the graph.
• being able to see SAEs graphically along with the others and a way of filtering to see just the SAEs

Automatically enter search criteria

For the search bar and incidence threshold, the user must currently click away from the entered value or hit the enter button for the function to filter on the entered value. We should try to automate this so the user doesn't think the function is broken.

Group variable with many categories locks browser

Issue: Selecting a group variable with many unique categories is likely to cause the browser to become unresponsive.

Solution: Add a check that halts execution if the user has selected a group variable with N>maxGroups categories. Could consider letting maxGroups be a parameter in the system with default=10 or so?

Regression Testing for AE Explorer v3.0.0

Confirm basic functionality and new features are working as expected in examples shown below:

Examples using v3.0.0 Release Candidate
Default

Basic Functionality (Tested every release)

  • Check all spelling and grammar on the page
  • View confidence intervals and tooltips for between-group differences by hovering the mouse over the - Difference Between icons.
  • Expand the dataset to show nested preferred terms by clicking the "+" to the left of each category.
  • Search by terms of interest and then close the search.
  • Confirm that filters on events (e.g. Severity) are working as expected: rates in the table change, but number of observation in the table header do not.
  • Confirm that filters on participants (e.g. Gender) are working as expected: rates in the table and number of observations in the table header both change.
  • Select events based on a minimum incidence threshold
  • Confirm that toggling between 'participant' and 'event' views work as expected (there should be more events than participants.
  • Confirm that you can view a detailed listing of events by clicking on the title of a given row in the table, and that the current filters are applied as expected in the detail view.
  • Confirm that the button that closes the detailed listing works as expected.

New Functionality (Tested in V3.0.0 only)

  • (#4) Confirm that you can filter on participant demographic information (sex, median age, and treatment group when data is unblinded)
  • (#5) Confirm that when a series of events is selected, the ability to filter on this detailed view is working as expected
  • (#27) Confirm that group columns are sorted alphabetically
  • (#32) Confirm that selecting a group variable with multiple categories doesn't crash the browser
  • (#43) Confirm that the event counts in the column headers are updating when changes are made to the participant filters

update Config merge process

Current implementation of mergedConfig in createChart.js in v3.0.0 is arguably better than nothing, but it's very naive and likely to cause bugs if the user specifies incomplete settings. For example, specifying settings.plotSettings.w but not settings.plotSettings.h is likely to throw an error.

QC/document the raw data download functionality

Let the user download the table data when chart.config.validation == true. An early version of the functionality is already present in aetable.init() and \util, but isn't documented or exposed to the user.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.