R/coord_genome-method.R

Defines functions theme_genome

Documented in theme_genome

## simply wrapper
theme_genome <- function(){
  list(facet_grid(.~seqnames),
       theme_pack_panels(),
       scale_x_continuous(breaks = NULL))       
}


## setGeneric("coord_genome", function(data,...)
##            standardGeneric("coord_genome"))

## setMethod("coord_genome", "GRanges", function(data, space.skip = 0.1){
##   object <- transformToGenome(object, space.skip = space.skip)
##   object <- biovizBase:::rescaleGr(object)
## })

Try the ggbio package in your browser

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

ggbio documentation built on Nov. 8, 2020, 5:04 p.m.