R/GRanges2ucsc.R

setGeneric('GRanges2ucsc', function(Object)
           standardGeneric('GRanges2ucsc'))
setMethod('GRanges2ucsc','GRanges', function(Object) {

    ucscf <- paste0(as.character(seqnames(Object)), ':',
                    start(Object), '-', end(Object))

    return(ucscf)
})

Try the compEpiTools package in your browser

Any scripts or data that you put into this service are public.

compEpiTools documentation built on Nov. 8, 2020, 5:32 p.m.