Nothing
test_that("getAllPeakSequence works not correct", {
#Fixme, Zv9_scaffold.
peaks <- GRanges(c("Zv9_scaffold3564","MT","1", "1"),
IRanges(start=c(10,300,60348387, 60348490),
end=c(50,330,60348389, 60348498),
names=c("p1","p2","p0", "p3")))
suppressWarnings(seq <-
getAllPeakSequence(peaks,
upstream = 20,
downstream = 20,
genome = Drerio))
expect_equal(as.character(seq["p0",]$sequence),
getSeq(Drerio,
GRanges("chr1",
IRanges(60348367, 60348388)),
as.character=TRUE))
expect_equal(as.character(seq["p1",]$sequence),
suppressWarnings(getSeq(Drerio,
GRanges("Zv9_scaffold3564",
IRanges(1, 70)),
as.character=TRUE)))
expect_equal(as.character(seq["p2",]$sequence),
getSeq(Drerio, GRanges("chrM",
IRanges(280, 350)),
as.character=TRUE))
expect_true(is.na(seq["p3"]$sequence))
})
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.