context("getGene")
test_that("getGene works", {
library(org.Hs.eg.db)
library(TxDb.Hsapiens.UCSC.hg19.knownGene)
gene <- getGene("SCN1A", orgDb = "org.Hs.eg.db",
txDb = "TxDb.Hsapiens.UCSC.hg19.knownGene")
expect_s4_class(gene, "GRanges")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.