Nothing
## FIXME: should this go into IRanges? (rename to viewSummary?)
setGeneric("peakSummary", function(x, ...) standardGeneric("peakSummary"))
setMethod("peakSummary", "RleViews", function(x) {
ir <- ranges(x)
mcols(ir) <- DataFrame(max = viewMaxs(x),
maxpos = mid(viewRangeMaxs(x)),
sum = viewSums(x))
ir
})
setMethod("peakSummary", "RleViewsList", function(x) {
summaries <- unname(lapply(x, peakSummary))
ir <- do.call(c, summaries)
GRanges(rep(names(x), lengths(summaries)), ir)
})
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.