Skip to content

Commit

Permalink
export straw-like functions for cool files
Browse files Browse the repository at this point in the history
  • Loading branch information
sarmapar committed Apr 22, 2024
1 parent db6a698 commit 523f0f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/methods-useCool.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
#' @importFrom rhdf5 h5ls
#'
#' @returns Vector of available normalizations
#'
#' @export
readCoolNormTypes <- function(fname, resolution){
fileType <- .checkIfCool(fname)

Expand Down Expand Up @@ -107,6 +109,7 @@ readCoolNormTypes <- function(fname, resolution){
#'
#' @returns Data frame of chromosome names and lengths
#'
#' @export
readCoolChroms <- function(fname, resolution){
## check if input is a cool file
fileType <- .checkIfCool(fname)
Expand Down Expand Up @@ -144,6 +147,8 @@ readCoolChroms <- function(fname, resolution){
#' @importFrom rhdf5 h5ls h5read
#'
#' @returns Vector of basepair resolutions
#'
#' @export
readCoolBpResolutions <- function(fname){
## Check if file is `.mcool` or `.cool`
fileType <- .checkIfCool(fname)
Expand Down

0 comments on commit 523f0f0

Please sign in to comment.