splitByStrand <- function(object) {
split(object, strand(object))
}
splitPooled <- function(object){
# Checks never done inside...
# Split by strand
o <- splitByStrand(object)
# Calculate coverage
o <- lapply(o, coverage, weight="score")
# Round to handle floating point errors
o <- lapply(o, round, digits=getOption("CAGEfightR.round"))
# Return
o
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.