Nothing
test_that("rev_comp works for DNAStringSet", {
# Create a DNAStringSet
dna <- Biostrings::DNAStringSet(c("ACGT", "TGCA"))
# Reverse complement
dna_rev <- rev_comp(dna)
# Check the result
expect_equal(as.character(dna_rev), as.character(dna))
})
test_that("rev_comp works for character vector of sequences", {
# Create a DNAStringSet
dna <- c("ACGT", "TGCA")
# Reverse complement
dna_rev <- rev_comp(dna)
# Check the result
expect_equal(as.character(dna_rev), dna)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.