Skip to content

Commit

Permalink
refactor: Add parse.js.seqlengths to export
Browse files Browse the repository at this point in the history
This function is needed for PGVdb but is not exported.
  • Loading branch information
shihabdider committed Aug 7, 2023
1 parent 2f65330 commit 487d2a1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ Suggests:
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.1.9000
RoxygenNote: 7.2.3
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export(merge)
export(merge.Junction)
export(microhomology)
export(nodestats)
export(parse.js.seqlengths)
export(peel)
export(pgv)
export(phased.binstats.legacy)
Expand Down
1 change: 1 addition & 0 deletions R/jsUtils.R
Original file line number Diff line number Diff line change
Expand Up @@ -1632,6 +1632,7 @@ jab2json = function(fn = "./jabba.simple.rds",
#' @param js.type either 'gGnome.js' or 'PGV' to determine the format of the JSON file
#' @param ref the name of the reference to load (only relevant for PGV). If not provided, then the default reference (which is set in the settings.json file) will be loaded.
#' @author Alon Shaiber
#' @export
parse.js.seqlengths = function(meta.js, js.type = 'gGnome.js', ref = NULL){
if (!(js.type %in% c('gGnome.js', 'PGV'))){
stop('js.type must be either gGnome.js or PGV')
Expand Down
12 changes: 8 additions & 4 deletions man/pgv.Rd

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

0 comments on commit 487d2a1

Please sign in to comment.