51
© OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

Embed Size (px)

Citation preview

Page 1: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

EDA in Pharmacogenomics

WithSAS JMP and Windows WF

Page 2: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Contents

IntroductionHapmap, JMP and Windows WFHapmap JMP Windows WF ApplicationNext StepsConclusionsQuestions

Page 3: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Introduction

Dosing ModelsModel ComparisonModelling EDAStatistical Workflow of a

Pharmacogenomic StudyWarfarinSubgroup Analysis

Page 4: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Clinical Dosing Model

Demographic

Pharma

Clinical

From The International Warfarin Pharmacogenetics Consortium. N Engl J Med 2009;360(8):753-764

Page 5: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Pharmacogenetic Dosing Model

Demographic

Genetic

Pharma

Clinical

From The International Warfarin Pharmacogenetics Consortium. N Engl J Med 2009;360(8):753-764

Page 6: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Model Comparison

From The International Warfarin Pharmacogenetics Consortium. N Engl J Med 2009;360(8):753-764

Page 7: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Model Comparison Workflow

Impute

Split

Split

ModelTest Average10 x

ModelTest Average10 x

ModelTest Average10 x

Compare

Select

Validate

X x

A B

Page 8: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Statistical Workflow of a Pharmacogenomic Study 1

From Turner SD, Crawford DC, Ritchie MD. Expert Rev Clin Pharmacol 2009;2(5):559-570

Page 9: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Modelling EDA

Modelling / Comparisons: Routine Process • WF compatible

EDA : Investigative Process• Smaller (routine) processes

Model Extension• Modelling + EDA• WF possibility ?

Page 10: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Warfarin

From Wadelius M, Pirmohamed M. Pharmacogenomics J 2006;7(2):99-111.

Page 11: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Warfarin 2

From Wadelius M, Pirmohamed M. Pharmacogenomics J 2006;7(2):99-111.

Page 12: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Statistical Workflow of a Pharmacogenomic Study 2

From Turner SD, Crawford DC, Ritchie MD. Expert Rev Clin Pharmacol 2009;2(5):559-570

Page 13: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Subgroup Analysis

Presumable more unknown factors are involved that are distributed differently in different populations, e.g. dietary habits.

Given this state of knowledge the question remains whether to use one universal dosing algorithm or to use different dosing algorithms for different subpopulations.

This subgroup analysis could be extended to other model factors• clinical (diseases / disease states)• pharma (high responder / low responder)

Test Test Test Test Test

Page 14: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Hapmap, JMP and WWF

HapmapJMPHapmap JMP WorkflowWindows WFWindows WF ActivitiesActivities inside a State

Page 15: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Hapmap

Page 16: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Hapmap 2

Page 17: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

JMP

JMP AutomationJMP ScriptJMP Workflow Builder

Page 18: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

JMP 2

Page 19: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Hapmap JMP Workflow

Page 20: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Windows WF

Page 21: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Windows WF Activities

Page 22: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Activities inside a State

Page 23: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Start JMP Script in Activity

Page 24: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Hapmap JMP WWF Application

User Input for State EventsUser Input for JMP ScriptJMP ReportVKORC1 Marker rs9923231JMP Script Results

Page 25: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Hapmap JMP WWF Application 2

Page 26: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

User Input for State Events

Page 27: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

User Input for JMP Script

Page 28: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

JMP Report

Page 29: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

VKORC1 Marker rs9923231

refhom-count

het-count

otherhom-count

Page 30: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Results Restriction using Chi-Square Test

Page 31: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

JMP Script Results

Page 32: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Next Steps

Different Model factorsDifferent Modelling TechniquesTaverna WorkflowWarfarin HistoryWWF Custom ActivityTrackingPersistenceError HandlingWorkflow Re-use / Validation

Page 33: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Different Model Factors

Page 34: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

VKORC1 Marker rs9923231

Clin1Clin2Clin3

Pharm1Pharm2Pharm3

Ethnic

Pharma

Clinical

Page 35: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Different Modelling Techniques

Page 36: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Detecting and Controlling for Population Stratification

From Turner SD, Crawford DC, Ritchie MD. Expert Rev Clin Pharmacol 2009;2(5):559-570

Page 37: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Taverna Workflow

Open SourceBeanshell ScriptsRshell Scripts(On – off) Data Flow“UI” Command Line App

From http:\\taverna.sourceforge.net

Page 38: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Warfarin History

Anti-clotting Agent high responders low responders

Rodenticide resistance

Rare Familial Diseases coagulation factor deficiencies

Page 39: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Compare Genes of Species or Families

Page 40: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

WWF Custom Activity

Page 41: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Tracking

State 1State 2State 3State 4…

Page 42: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Tracking2

From Chappell D, The Workflow Way. Microsoft. 2009; 1-27.

Page 43: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Persistence

From Chappell D, The Workflow Way. Microsoft. 2009; 1-27.

Page 44: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Persistence 2

Page 45: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Error Handling

Page 46: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Workflow Re-use / Validation

From http:\\taverna.sourceforge.net

Page 47: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Workflow Validation 2

Validate

Stop Workflow

Page 48: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Error Handling 2

FTP Unzip

Reconnect

Page 49: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Hapmap JMP WWF Application3

Page 50: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Conclusions

It is possible to combine a data fetch and JMP scripts in a Windows workflow.

The graphical designer is attractive but not a Lego-like activity.

With more elaborate modelling or EDA workflows, the Tracking, Persistence and Error handling features probably make it worth considering.

Page 51: © OCS Consulting EDA in Pharmacogenomics With SAS JMP and Windows WF

© OCS Consulting

Questions

?