R/scanBcf.R

setMethod(scanBcf, "character",
    function(file, index=file, ..., param=ScanBcfParam())
{
    bcf <- open(BcfFile(file, index))
    on.exit(close(bcf))
    scanBcf(bcf, ..., param=param)
})
Bioconductor/Rsamtools documentation built on Oct. 31, 2024, 1:23 p.m.