R/zzz.R

Defines functions .onLoad

.STRAND_LEVELS <- c("+", "-", "*")

.PILEUP_NUCLEOTIDE_LEVELS <- c("A", "C", "G", "T", "N", "=", "-", "+")

.onLoad <-
    function(libname, pkgname)
{
    if (!identical(levels(strand()), .STRAND_LEVELS))
        stop("internal: 'levels(strand())' not consistent with Rsamtools")
    .Call(.bamfile_init)
    .Call(.bcffile_init)
    .Call(.fafile_init)
    .Call(.tabixfile_init)
    .Call(.bambuffer_init)
}

Try the Rsamtools package in your browser

Any scripts or data that you put into this service are public.

Rsamtools documentation built on Nov. 8, 2020, 8:11 p.m.