Claire Petry Agenda Objectives of the app Demo How to upload your - - PowerPoint PPT Presentation

claire petry agenda
SMART_READER_LITE
LIVE PREVIEW

Claire Petry Agenda Objectives of the app Demo How to upload your - - PowerPoint PPT Presentation

explort R Shiny App October 10 th 2017 Claire Petry Agenda Objectives of the app Demo How to upload your data (CSV or FIT file) How to create plots How to export R code and use it Next steps Conclusion 2 Objectives of


slide-1
SLIDE 1

explort R Shiny App

October 10th 2017

Claire Petry

slide-2
SLIDE 2

Agenda

  • Objectives of the app
  • Demo

– How to upload your data (CSV or FIT file) – How to create plots – How to export R code and use it

  • Next steps
  • Conclusion

2

slide-3
SLIDE 3

Objectives of the app

  • Interactive data exploration: create and customize basic plots to

– Review data – Identify potential data issues – Identify outliers – …

  • Export R code to

– Be able to recreate the plots of interest – Allow R beginners to use it as a kind of template, to create plots and personnalize them without starting from scratch

  • Spotfire also allows the interactive data exploration, but not the reproducibility and traceability of

the plots

Explore Export explort

3

slide-4
SLIDE 4

Demo

  • Prerequisite to run the app

No data manipulation done by the app (except subsetting) the data file must be ready to use (create categorical variables with the right labels etc.)

  • Demo video

4

slide-5
SLIDE 5

Demo - How to upload a CSV file

5

slide-6
SLIDE 6

Demo - How to upload a FIT file

6

slide-7
SLIDE 7

Demo - How to create plots

  • 5 types of plots can be created and customized via the app

– Scatter plots – Spaghetti plots – Boxplots – Diagnostic plots – Mean plots

  • To create one of those plots, click on the corresponding tab in the menu bar

7

slide-8
SLIDE 8

Demo - How to create plots

  • Available features for each type of plots

Scatter plots Spaghetti plots Boxplot s Diagnostic plots Mean plots X and Y variables

  • Color / shape variables
  • Facetting variable(s)
  • Y scale (normal or log)
  • Dose normalization
  • Plot title and labels
  • Legend position
  • Identity line
  • Smooth line
  • Mean / median line
  • Interactivity
  • 8
slide-9
SLIDE 9

Demo - How to export R code

  • In the tabs to create plots, select the plots of interest by clicking on ‘‘Add to selection’’
  • In the Main tab, once all the plots of interest have been selected:

– select the desired extension for the file that will be created running the exported R code (either .docx or .pdf) – export the corresponding R code by clicking on ‘‘Export code’’

  • The exported code will be saved in your Downloads folder

9

slide-10
SLIDE 10

Demo - How to use the exported R code

  • Open the R program which has been created and adapt it

– Change the path of the uploaded data file – Define the path of the .docx or .pdf file that will be created running the R code – Modify the code if necessary: change titles, labels… – Add comments to make your program readable

  • Run your updated R program and

get your plots in the defined format

10

slide-11
SLIDE 11

Next steps

  • Update the R script template to warn users about required edits (input/output files)
  • Update the diagnostic plots display and add other diagnostic plots (distribution of model

parameters)

  • Identify and correct bugs
  • Get users’ feedback
  • Improve the app

– Integrate other types of plots (histograms, bar plots…) – Add more interactivity – Improve performance of the app

11

slide-12
SLIDE 12

Conclusion

  • explort allows interactive data exploration

– Creation of different types of data visualizations – Customization of the plots via many features – Detection of outliers – Display of selected data in a table below the plot

  • It is also designed to export the R code to reproduce the plots of interest

– Ready to run code – Can be used as a template to create and customize additional plots – The user can choose the format of the file that will be created running the exported code – Does not require any programming skills – Guaranties the traceability and reproducibility of the plots

12

slide-13
SLIDE 13

Thank you

13

slide-14
SLIDE 14

Back-up

14

slide-15
SLIDE 15

Demo - How to create plots

  • Scatter plot example

15

slide-16
SLIDE 16

Demo - How to create plots

  • Spaghetti plot example

16

slide-17
SLIDE 17

Demo - How to create plots

  • Boxplot example

17

slide-18
SLIDE 18

Demo - How to create plots

  • Diagnostic plots example

18

slide-19
SLIDE 19

Demo - How to create plots

  • Mean plot example

19

slide-20
SLIDE 20

Doing now what patients need next

20