Skip to content

Commit

Permalink
trying to fix data issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ytakemon committed Mar 2, 2022
1 parent abe4f14 commit 6a1bbc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Description: Genetic Interaction Network IdentifieR (GINIR) leverages data gener
A manuscript describing the process is being prepared.
License: GPL (>= 3)
Encoding: UTF-8
LazyData: false
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.2.9000
Suggests:
Expand Down
6 changes: 3 additions & 3 deletions R/list_available_cancer_type.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
list_available_cancer_types <- function(){
# Load necessary data
sample_annot <- NULL # see: https://support.bioconductor.org/p/24756/
data("sample_annot", envir = environment())
load("data/sample_annot", envir = environment())

# Main
sample_annot %>%
Expand All @@ -32,10 +32,10 @@ list_available_cancer_types <- function(){
list_available_cancer_subtypes <- function(input_disease){
# Load necessary data
sample_annot <- NULL # see: https://support.bioconductor.org/p/24756/
data("sample_annot", envir = environment())
load("data/sample_annot.rda", envir = environment())

# Main
sample_annot %>%
dplyr::filter(.data$disease %in% input_disease) %>%
dplyr::pull(.data$disease_subtype) %>% unique
}
}
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ knitr::opts_chunk$set(
)
# Flip the switch to evaluate all when ready for final render
Final_eval <- FALSE
Final_eval <- TRUE
```

# Genetic Interaction Network IdentifieR (GINIR)
Expand Down

0 comments on commit 6a1bbc6

Please sign in to comment.