Skip to content

Commit

Permalink
Creation of output field in getPlotSpecs()
Browse files Browse the repository at this point in the history
  • Loading branch information
alephnull7 committed Feb 20, 2024
1 parent cdcbbea commit 0863972
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions R/visualizeWithRCircos.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,11 @@ getLegendParams <- function(coverage,

return(legendParams)
}

getOutput <- function(output) {
if (is.character(output) && grepl("\\.pdf$", output, ignore.case = TRUE)) {
return(output)
} else {
return(NULL)
}
}

0 comments on commit 0863972

Please sign in to comment.