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)
## })
lawremi/ggbio documentation built on Nov. 1, 2023, 2:40 p.m.