fl <- system.file("extdata", "ex1.bam", package="Rsamtools")
test_testPairedEndBam <- function() {
checkTrue(testPairedEndBam(BamFile(fl)))
checkTrue(testPairedEndBam(fl))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.