Skip to content

Commit

Permalink
Refactor for src/ folder -- tidying repo
Browse files Browse the repository at this point in the history
  • Loading branch information
millerh1 committed Jun 26, 2022
1 parent 78eeaea commit 48a269d
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 5 deletions.
10 changes: 6 additions & 4 deletions app.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ library(pheatmap)
library(ggprism)
library(bslib)
library(RColorBrewer)
library(kernlab)
library(randomForest)

# Increase upload size to 300MB
options(shiny.maxRequestSize = 300 * 1024^2)
# Get constants
source("utils.R")
source("src/utils.R")
APP_DATA <- "misc/app_data.rda"
if (!file.exists(APP_DATA)) {
makeGlobalData(APP_DATA)
Expand All @@ -38,9 +40,9 @@ rlsamples <- rlsamples %>%
study = map_chr(study, makeSRAStudyLinks),
PMID = map_chr(PMID, makePubMedLinks)
)
source("const.R")
source("ui_globals.R")
source("plots.R")
source("src/const.R")
source("src/ui_globals.R")
source("src/plots.R")
BASE_URL1 <- "http://genome.ucsc.edu/s/millerh1%40livemail.uthscsa.edu/RLBase?position="
rltabShow <- rlregions %>%
arrange(desc(confidence_score)) %>%
Expand Down
16 changes: 16 additions & 0 deletions renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1680,6 +1680,14 @@
"xml2"
]
},
"kernlab": {
"Package": "kernlab",
"Version": "0.9-31",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "2d7ade74e80201ce89460955cea68408",
"Requirements": []
},
"knitr": {
"Package": "knitr",
"Version": "1.39",
Expand Down Expand Up @@ -2161,6 +2169,14 @@
"rlang"
]
},
"randomForest": {
"Package": "randomForest",
"Version": "4.7-1.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "b52825075358b1ebd159e262bf40649d",
"Requirements": []
},
"rappdirs": {
"Package": "rappdirs",
"Version": "0.3.3",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion www/documentation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ bibliography: references.bib
```{r setup, echo=FALSE, include=FALSE}
library(tidyverse)
library(shiny)
source("../utils.R")
source("../src/utils.R")
```

```{css, echo=FALSE}
Expand Down

0 comments on commit 48a269d

Please sign in to comment.