Nothing
segsample <-
function(mysegs,ratcol,startcol="StartProbe",endcol="EndProbe",
blocksize=0,times=0){
if(blocksize==0×==0)stop("One of blocksize or times must be set")
if(blocksize!=0×!=0)stop("Only one of blocksize or times can be set")
segtable<-mysegs[,c(startcol,endcol),drop=F]
if(blocksize!=0)segtable<-
segtable[rep(1:nrow(segtable),
times=(segtable[,endcol]-segtable[,startcol]+1)%/%blocksize),]
if(times!=0)segtable<-segtable[rep(1:nrow(segtable),each=times),]
return(cbind(segtable, apply(segtable, 1, smedian.sample, v = ratcol)))
}
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.