Skip to content

Commit

Permalink
related to #24 #25 remove data documents
Browse files Browse the repository at this point in the history
  • Loading branch information
ytakemon committed Mar 3, 2022
1 parent 91cd16c commit b45ce51
Show file tree
Hide file tree
Showing 17 changed files with 10 additions and 232 deletions.
3 changes: 3 additions & 0 deletions GINIR_data_document.tar.gz
Git LFS file not shown
10 changes: 0 additions & 10 deletions R/CCLE_exp.R

This file was deleted.

14 changes: 0 additions & 14 deletions R/CCLE_exp_annot.R

This file was deleted.

10 changes: 0 additions & 10 deletions R/copy_num.R

This file was deleted.

16 changes: 0 additions & 16 deletions R/copy_num_annot.R

This file was deleted.

9 changes: 0 additions & 9 deletions R/dep.R

This file was deleted.

14 changes: 0 additions & 14 deletions R/dep_annot.R

This file was deleted.

13 changes: 0 additions & 13 deletions R/essential_genes.R

This file was deleted.

9 changes: 0 additions & 9 deletions R/gene_effect.R

This file was deleted.

12 changes: 7 additions & 5 deletions R/list_available_cancer_type.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@
#' `list_available_cancer_types()` and `list_available_cancer_subtypes()` provide tools for identifying cancer (sub)types that are available in DepMap.
#'
#' @return string A vector containing unique cancer types available
#'

#' @param data_dir string Path to GINIR_data
#' @import rlang
#' @import dplyr
#' @import utils
#'
#' @export
#' @examples
#' list_available_cancer_types()
list_available_cancer_types <- function(){
list_available_cancer_types <- function(data_dir){
# Load necessary data
sample_annot <- NULL # see: https://support.bioconductor.org/p/24756/
load(paste0(system.file(package = "GINIR"), "/data/sample_annot.rda"), envir = environment())
load(paste0(data_dir, "/sample_annot.rda"), envir = environment())

# Main
sample_annot %>%
Expand All @@ -25,14 +26,15 @@ list_available_cancer_types <- function(){
#' @describeIn list_available_cancer_types List cancer subtypes that are available
#'
#' @param input_disease string A vector of unique with one or more cancer types listed in `list_available_cancer_types()`
#' @param data_dir string Path to GINIR_data
#' @importFrom rlang .data
#' @export
#' @examples
#' list_available_cancer_subtypes("Lung Cancer")
list_available_cancer_subtypes <- function(input_disease){
list_available_cancer_subtypes <- function(input_disease, data_dir){
# Load necessary data
sample_annot <- NULL # see: https://support.bioconductor.org/p/24756/
load(paste0(system.file(package = "GINIR"), "/data/sample_annot.rda"), envir = environment())
load(paste0(data_dir, "/sample_annot.rda"), envir = environment())

# Main
sample_annot %>%
Expand Down
46 changes: 0 additions & 46 deletions R/mut_calls.R

This file was deleted.

13 changes: 0 additions & 13 deletions R/nonessential_genes.R

This file was deleted.

9 changes: 0 additions & 9 deletions R/protein.R

This file was deleted.

12 changes: 0 additions & 12 deletions R/protein_annot.R

This file was deleted.

9 changes: 0 additions & 9 deletions R/protein_nodup.R

This file was deleted.

9 changes: 0 additions & 9 deletions R/sample_ARID1A_KO_screen.R

This file was deleted.

34 changes: 0 additions & 34 deletions R/sample_annot.R

This file was deleted.

0 comments on commit b45ce51

Please sign in to comment.