bedCat <- function (beds , outname , buffersize="10G" , cores=8 , presorted=TRUE ){
cmdString <- paste(
"sort -T . -S",
buffersize,
"--parallel",cores,
if(presorted){"-m"},
"-k1,1 -k2,2n",
"-o",
outname,
paste(beds,collapse=" ")
)
print(cmdString)
system(cmdString)
return(outname)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.