Skip to content

Commit

Permalink
bug fix: resolve function conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kdreval committed Feb 1, 2024
1 parent e4bbc78 commit d037878
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export(pretty_lollipop_plot)
export(splendidHeatmap)
export(ssm_to_proteinpaint)
import(ComplexHeatmap)
import(GAMBLR.data)
import(GAMBLR.helpers)
import(GAMBLR.utils)
import(RCircos)
Expand Down
8 changes: 4 additions & 4 deletions R/prettyRainfallPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#' @return a ggplot2 object
#'
#' @rawNamespace import(data.table, except = c("last", "first", "between", "transpose", "melt", "dcast"))
#' @import ggplot2 dplyr readr stringr tidyr reshape2 GAMBLR.data GAMBLR.helpers GAMBLR.utils
#' @import ggplot2 dplyr readr stringr tidyr reshape2 GAMBLR.helpers GAMBLR.utils
#' @export
#'
#' @examples
Expand Down Expand Up @@ -110,7 +110,7 @@ prettyRainfallPlot = function(
# allow to zoom in to a specific region
if (!missing(zoom_in_region)) {
region <- zoom_in_region
zoom_in_region <- GAMBLR.data::region_to_chunks(zoom_in_region)
zoom_in_region <- region_to_chunks(zoom_in_region)
zoom_in_region$chromosome <- GAMBLR.helpers::standardize_chr_prefix(
incoming_vector = zoom_in_region$chromosome,
projection = projection
Expand All @@ -121,7 +121,7 @@ prettyRainfallPlot = function(

if (label_ashm_genes) {
if (projection == "grch37") {
ashm_regions <- GAMBLR.data::grch37_ashm_regions %>%
ashm_regions <- grch37_ashm_regions %>%
dplyr::rename(
"start" = "hg19_start",
"end" = "hg19_end",
Expand All @@ -134,7 +134,7 @@ prettyRainfallPlot = function(
)
)
} else if (projection == "hg38") {
ashm_regions <- GAMBLR.data::hg38_ashm_regions %>%
ashm_regions <- hg38_ashm_regions %>%
dplyr::rename(
"start" = "hg38_start",
"end" = "hg38_end",
Expand Down
7 changes: 5 additions & 2 deletions man/ashm_multi_rainbow_plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d037878

Please sign in to comment.