scanBamFlag_test <- function()
{
checkIdentical(formalArgs(scanBamFlag), Rsamtools:::.FLAG_BITNAMES)
## HP: Is this really testing something about scanBamFlag?
isUnmappedQuery <- FALSE
flags0 <- scanBamFlag(isUnmappedQuery=FALSE)
flags1 <- scanBamFlag(isUnmappedQuery=isUnmappedQuery)
checkIdentical(flags0, flags1)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.