Skip to content

Commit

Permalink
fix: remove gDRinternal namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
bczech committed Feb 7, 2024
1 parent 05f82d1 commit ab43ec4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions R/add_annotation.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ add_CellLine_annotation <- function(
system.file("annotation_data", fname, package = annotationPackage), header = TRUE
)
} else {
gDRinternal::get_cell_line_annotations(dt_metadata[[cellline]])
eval(parse(text = paste0(annotationPackage,
"::",
"get_cell_line_annotations")))(dt_metadata[[cellline]])
}

CLs_info <- CLs_info[, c(DB_cellid_header, DB_cell_annotate), with = FALSE]
Expand Down Expand Up @@ -174,7 +176,9 @@ add_Drug_annotation <- function(
system.file("annotation_data", fname, package = annotationPackage), header = TRUE
)
} else {
gDRinternal::get_drug_annotations()
eval(parse(text = paste0(annotationPackage,
"::",
"get_drug_annotations")))()
}


Expand Down

0 comments on commit ab43ec4

Please sign in to comment.