R/read_bam.R

Defines functions read_bam

read_bam <- function(path,
                     verbose=TRUE){
    
    check_dep("GenomicAlignments")
    messager("Parsing BAM file.",v=verbose)
    bam <- GenomicAlignments::readGAlignments(file = path)
    return(bam)
}
serachoi1230/EpiCompare documentation built on Jan. 30, 2024, 11:37 a.m.