Nothing
setMethod("tabDuplReads", signature(x='RangedData'),
function(x, minRepeats=1, mc.cores=1) {
ans <- countRepeats(x, mc.cores=mc.cores)
ans <- do.call(c,lapply(ans,'[[','reps'))
table(ans)
}
)
setMethod("tabDuplReads", signature(x='list'),
function(x, minRepeats=1, mc.cores=1) {
#x <- as.list(x)
ans <- lapply(x, function(z) tabDuplReads(z, minRepeats=minRepeats, mc.cores=mc.cores))
names(ans) <- names(x)
return(ans)
}
)
setMethod("tabDuplReads",signature(x='GRanges'),
function(x, minRepeats=1, mc.cores=1) {
x <- as(x,'RangedData')
ans <- tabDuplReads(x,minRepeats=minRepeats,mc.cores=mc.cores)
return(ans)
}
)
setMethod("tabDuplReads",signature(x='GRangesList'),
function(x, minRepeats=1, mc.cores=1) {
#x <- list(lapply(x,function(y) as(y,'RangedData')))
x <- as.list(x)
x <- lapply(x,function(y) RangedData(y))
ans <- tabDuplReads(x,minRepeats=minRepeats,mc.cores=mc.cores)
return(ans)
}
)
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.