-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from allaway/drug-selector
drug selector
- Loading branch information
Showing
19 changed files
with
1,551 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
source("renv/activate.R") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,4 +59,4 @@ create_boxplot <- function( | |
I | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Launch the ShinyApp (Do not remove this comment) | ||
# To deploy, run: rsconnect::deployApp() | ||
# Or use the blue button on top of this file | ||
|
||
pkgload::load_all(export_all = FALSE,helpers = FALSE,attach_testthat = FALSE) | ||
options( "golem.app.prod" = TRUE) | ||
kairos::run_app() # add parameters here (if any) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## code to prepare `drug_names.R` dataset goes here | ||
library(synapser) | ||
library(tidyverse) | ||
synLogin() | ||
|
||
drug_screening <- synGet("syn20700260")$path %>% readr::read_csv( | ||
col_types = "cccccdcdccccdcdccdc" | ||
) %>% | ||
select(DT_explorer_internal_id) %>% | ||
distinct() | ||
|
||
drug_info <- synTableQuery("SELECT * FROM syn17090820")$filepath %>% readr::read_csv() | ||
|
||
drug_names <- drug_info %>% | ||
select(internal_id, common_name) %>% | ||
rename(DT_explorer_internal_id = internal_id) %>% | ||
inner_join(drug_screening) | ||
|
||
usethis::use_data(drug_names) | ||
|
||
preferred_drug_names <- synTableQuery("select internal_id, std_name from syn17090819")$filepath %>% | ||
readr::read_csv() %>% | ||
select(internal_id, std_name) %>% | ||
rename(DT_explorer_internal_id = internal_id) %>% | ||
inner_join(drug_screening) | ||
|
||
usethis::use_data(preferred_drug_names, | ||
# overwrite = T | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## code to prepare `drug_raw` dataset goes here | ||
library(synapser) | ||
library(tidyverse) | ||
synLogin() | ||
|
||
drug_raw <- synTableQuery("SELECT * FROM syn20556247", includeRowIdAndRowVersion = F)$filepath %>% | ||
read_csv(col_types = "cddccccccccddcdccccccc") %>% | ||
select(drug_screen_id, model_name, DT_explorer_internal_id, dosage, response) | ||
|
||
usethis::use_data(drug_raw, | ||
#overwrite = T | ||
) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.