Skip to content

Commit

Permalink
intro
Browse files Browse the repository at this point in the history
  • Loading branch information
anikaliu committed Sep 23, 2021
1 parent b1f2620 commit c7e5a93
Show file tree
Hide file tree
Showing 12 changed files with 200 additions and 13 deletions.
Binary file modified .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions MASTER.R
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
source('')
Binary file added figs/.DS_Store
Binary file not shown.
Binary file added figs/OpenTGGATES.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figs/concept.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figs/histopath.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
161 changes: 161 additions & 0 deletions renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@
"Repository": "CRAN",
"Hash": "a7d6660c869d4f41f856504828af4645"
},
"GGally": {
"Package": "GGally",
"Version": "2.1.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "022f78c8698724b326f1838b1a98cafa"
},
"GetoptLong": {
"Package": "GetoptLong",
"Version": "1.0.5",
Expand Down Expand Up @@ -120,6 +127,13 @@
"Source": "Bioconductor",
"Hash": "f558c55a285751bd72af11d2bb853521"
},
"TSP": {
"Package": "TSP",
"Version": "1.1-10",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "58f127ba1d26ddb0435f9959e814dbea"
},
"askpass": {
"Package": "askpass",
"Version": "1.1",
Expand Down Expand Up @@ -225,6 +239,13 @@
"Repository": "CRAN",
"Hash": "5ea8f54741ff907e2c0b5efabc9de729"
},
"codetools": {
"Package": "codetools",
"Version": "0.2-18",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "019388fc48e48b3da0d3a76ff94608a8"
},
"colorspace": {
"Package": "colorspace",
"Version": "2.0-0",
Expand All @@ -239,6 +260,13 @@
"Repository": "CRAN",
"Hash": "0f22be39ec1d141fd03683c06f3a6e67"
},
"cowplot": {
"Package": "cowplot",
"Version": "1.1.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "b418e8423699d11c7f2087c2bfd07da2"
},
"cpp11": {
"Package": "cpp11",
"Version": "0.2.7",
Expand Down Expand Up @@ -281,6 +309,13 @@
"Repository": "CRAN",
"Hash": "1f37fa4ab2f5f7eded42f78b9a887182"
},
"dendextend": {
"Package": "dendextend",
"Version": "1.15.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "7f9ef29016a3d840bbd92f879c7cb67b"
},
"digest": {
"Package": "digest",
"Version": "0.6.27",
Expand All @@ -302,6 +337,13 @@
"Repository": "CRAN",
"Hash": "1e14e4c5b2814de5225312394bc316da"
},
"egg": {
"Package": "egg",
"Version": "0.4.5",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "d958917f7b60c13089ab0c8d17114053"
},
"ellipsis": {
"Package": "ellipsis",
"Version": "0.3.1",
Expand Down Expand Up @@ -344,6 +386,13 @@
"Repository": "CRAN",
"Hash": "81c3244cab67468aac4c60550832655d"
},
"foreach": {
"Package": "foreach",
"Version": "1.5.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "e32cfc0973caba11b65b1fa691b4d8c9"
},
"fs": {
"Package": "fs",
"Version": "1.5.0",
Expand All @@ -358,13 +407,27 @@
"Repository": "CRAN",
"Hash": "bc3bc77ea458de0a6efe94e8e7e9c641"
},
"gclus": {
"Package": "gclus",
"Version": "1.3.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "8f905e7f70ac42e5b0e39d6ba360dd44"
},
"generics": {
"Package": "generics",
"Version": "0.1.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "4d243a9c10b00589889fe32314ffd902"
},
"ggiraph": {
"Package": "ggiraph",
"Version": "0.7.10",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "38b169da6947549169248a1afe549bb1"
},
"ggplot2": {
"Package": "ggplot2",
"Version": "3.3.5",
Expand Down Expand Up @@ -428,6 +491,13 @@
"Repository": "CRAN",
"Hash": "221d0ad75dfa03ebf17b1a4cc5c31dfc"
},
"heatmaply": {
"Package": "heatmaply",
"Version": "1.2.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "271afb1ad657f45c52d765598944a781"
},
"highr": {
"Package": "highr",
"Version": "0.8",
Expand Down Expand Up @@ -484,6 +554,13 @@
"Repository": "CRAN",
"Hash": "b2008df40fb297e3fef135c7e8eeec1a"
},
"iterators": {
"Package": "iterators",
"Version": "1.0.13",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "64778782a89480e9a644f69aad9a2877"
},
"jquerylib": {
"Package": "jquerylib",
"Version": "0.1.3",
Expand Down Expand Up @@ -610,6 +687,13 @@
"Repository": "CRAN",
"Hash": "a399e4773075fc2375b71f45fca186c4"
},
"packrat": {
"Package": "packrat",
"Version": "0.7.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "95e8c3825efcaad09411799da92c0af9"
},
"pillar": {
"Package": "pillar",
"Version": "1.6.0",
Expand All @@ -624,6 +708,13 @@
"Repository": "CRAN",
"Hash": "01f28d4278f15c76cddbea05899c5d6f"
},
"plotly": {
"Package": "plotly",
"Version": "4.9.4.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "af4b92cb3828aa30002e2f945c49c2d7"
},
"plyr": {
"Package": "plyr",
"Version": "1.8.6",
Expand Down Expand Up @@ -680,6 +771,13 @@
"Repository": "CRAN",
"Hash": "97def703420c8ab10d8f0e6c72101e02"
},
"qap": {
"Package": "qap",
"Version": "0.1-1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "753e69deffc32851121955ea150ecf8d"
},
"rappdirs": {
"Package": "rappdirs",
"Version": "0.3.3",
Expand All @@ -701,6 +799,13 @@
"Repository": "CRAN",
"Hash": "63537c483c2dbec8d9e3183b3735254a"
},
"registry": {
"Package": "registry",
"Version": "0.5-1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "1c9935f4f14c6c096c9c9072ddee59f1"
},
"rematch": {
"Package": "rematch",
"Version": "1.0.1",
Expand Down Expand Up @@ -729,6 +834,20 @@
"Repository": "CRAN",
"Hash": "8482bbeef0c194ac236aef7c51ee375f"
},
"reshape": {
"Package": "reshape",
"Version": "0.8.8",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "0f4d941129e00ed34a7d192b1da7ccef"
},
"reshape2": {
"Package": "reshape2",
"Version": "1.4.4",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "bb5996d0bd962d214a11140d77589917"
},
"rjson": {
"Package": "rjson",
"Version": "0.2.20",
Expand All @@ -750,6 +869,13 @@
"Repository": "CRAN",
"Hash": "edbf4cb1aefae783fd8d3a008ae51943"
},
"rsconnect": {
"Package": "rsconnect",
"Version": "0.8.24",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "5e21fd77eb844fa1ff1d23cb04e1d753"
},
"rstudioapi": {
"Package": "rstudioapi",
"Version": "0.13",
Expand Down Expand Up @@ -785,6 +911,13 @@
"Repository": "CRAN",
"Hash": "3838071b66e0c566d55cc26bd6e27bf4"
},
"seriation": {
"Package": "seriation",
"Version": "1.3.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "d81cd7976e625f3c0d3555df809632a9"
},
"shape": {
"Package": "shape",
"Version": "1.4.5",
Expand All @@ -806,13 +939,27 @@
"Repository": "CRAN",
"Hash": "f895dafd39733c4a70d425f605a832e7"
},
"shinyHeatmaply": {
"Package": "shinyHeatmaply",
"Version": "0.2.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "0b42a48c9ff40db359ce1a743333de6b"
},
"shinyWidgets": {
"Package": "shinyWidgets",
"Version": "0.6.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "7dd5f3ee96c64a47fdbc6e437ff1c7e1"
},
"shinycssloaders": {
"Package": "shinycssloaders",
"Version": "1.0.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "f39bb3c44a9b496723ec7e86f9a771d8"
},
"shinyjs": {
"Package": "shinyjs",
"Version": "2.0.0",
Expand Down Expand Up @@ -848,6 +995,13 @@
"Repository": "CRAN",
"Hash": "b227d13e29222b4574486cfcbde077fa"
},
"systemfonts": {
"Package": "systemfonts",
"Version": "1.0.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "f2e17ba09737e2e7e2ec40fc1f9b6e08"
},
"tibble": {
"Package": "tibble",
"Version": "3.1.0",
Expand Down Expand Up @@ -918,6 +1072,13 @@
"Repository": "CRAN",
"Hash": "55e157e2aa88161bdb0754218470d204"
},
"webshot": {
"Package": "webshot",
"Version": "0.5.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "e99d80ad34457a4853674e89d5e806de"
},
"withr": {
"Package": "withr",
"Version": "2.4.1",
Expand Down
11 changes: 11 additions & 0 deletions rsconnect/shinyapps.io/anikaliu/dili_cascades.dcf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: dili_cascades
title:
username:
account: anikaliu
server: shinyapps.io
hostUrl: https://api.shinyapps.io/v1
appId: 4643858
bundleId: 5029350
url: https://anikaliu.shinyapps.io/dili_cascades/
when: 1631560485.74492
lastSyncTime: 1631560485.74493
20 changes: 19 additions & 1 deletion sub/0_overview_main.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## Introduction
One source of evidence for causality between two events is whether they are consistently found in the same order over time or, in short, whether they are time-concordant. We present an automatable, data-driven framework to quantify and characterize time concordance across a large set of time-series providing a novel angle to prioritize mechanistically relevant events. As a case study, we used the TG-GATEs in vivo liver data from repeat-dose studies in rats and quantified time concordance between gene expression-derived events and later adverse histopathology indicating Drug-Induced Liver Injury (DILI). This app presents the results of the paper and allows further exploration of time concordanec in the TG-GATEs data. [insert link here]

<img src="../figs/concept.png" width="60%", align="middle">

## App functions

#### 1) <i class="fas fa-dot-circle"></i> Identify preceding events for defined histopathology
Here, users can explore the time concordance of different types of events (TFs, Pathways, Histopathology) preceding adverse histopathology. While in our analysis adverse histopathology was defined as a set of different histopathological findings, users can also supply their own definition, e.g. focussing only on fibrosis or biliary hyperplasia, and study events of interest based on this.

#### 2) <i class="fas fa-arrows-alt-h"></i> Look up interaction between 2 events of interest
Once 2 events of interest are identified, e.g. based on time concordance analysis from the 1st tab but also based on expert knowledge, the relation between both events can be analysed further in this 2nd tab.This will provide an overview of time series where any of the given events is observed, providing further insight into when each event was activated in each time-series.

## Background
## Abstract
#### The Opne TG-GATEs database
<img src="../figs/OpenTGGATES.png" width="60%", align="middle">
#### Defintion of adverse histopathology
<img src="../figs/histopath.png" width="60%", align="middle">

## Citation
The app was developed by Anika Liu (<a href="mailto:[email protected]" target="_blank"><i class="far fa-paper-plane"></i></a>) under the supervision of Dr. Andreas Bender, Dr. Namshik Han and Dr. Jordi Munoz-Muriedas.
7 changes: 5 additions & 2 deletions sub/0_overview_side.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
This app presents the results of the paper [insert link here]

Two kinds of analysis can be performed:
- <i class="far fa-dot-circle"></i> Identify preceding events for defined histopathology
- <i class="fas fa-arrows-alt-h"></i> Look up interaction between 2 events of interest

###Identify preceding events for defined histopathology
Here, users can explore the time concordance of different types of events (TFs, Pathways, Histopathology) preceding adverse histopathology. While in our analysis adverse histopathology was defined as a set of different histopathological findings, users can also supply their own definition, e.g. focussing only on fibrosis or biliary hyperplasia, and study events of interest based on this.

<i class="fas fa-arrows-alt-h"></i> ###Look up interaction between 2 events of interest
Once 2 events of interest are identified, e.g. based on time concordance analysis from the 1st tab but also based on expert knowledge, the relation between both events can be analysed further in this 2nd tab.This will provide an overview of time series where any of the given events is observed, providing further insight into when each event was activated in each time-series.

The app was developed by Anika Liu (<a href="mailto:[email protected]" target="_blank"><i class="far fa-paper-plane"></i></a>) under the supervision of Dr. Andreas Bender, Dr. Namshik Han and Dr. Jordi Munoz-Muriedas.
11 changes: 2 additions & 9 deletions sub/0_ui_overview.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
tabPanel(title='Overview',
iicon = icon("fa-home", lib = "font-awesome"),
sidebarLayout(
sidebarPanel(
includeMarkdown("sub/0_overview_side.md")
),
mainPanel(
includeMarkdown("sub/0_overview_main.md")
)
)
icon = icon("fa-home", lib = "font-awesome"),
includeMarkdown("sub/0_overview_main.md")
)
2 changes: 1 addition & 1 deletion sub/global.R
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ get_stats=function(source,top_events, select_target,bg_target, include_same_time
group_by(COMPOUND_NAME, rDOSE_LEVEL, event, direction)%>%
filter(abs(logFC)==max(abs(logFC)))%>%
group_by(event, direction)%>%
summarise(logFC=abs(mean(logFC)))
summarise(logFC=abs(median(logFC)))
}


Expand Down

0 comments on commit c7e5a93

Please sign in to comment.