createLayerSet.BSgenome: Create a genome-wide layerList object

View source: R/createLayerSet.BSgenome.R

createLayerSet.BSgenomeR Documentation

Create a genome-wide layerList object

Description

Convenience wrapper to quickly create a layerList from a BSgenome object.

Usage

createLayerSet.BSgenome(
  genome,
  n.layers = 1,
  layer.names = paste("LAYER", 1:n.layers, sep = "."),
  verbose = FALSE
)

Arguments

genome

a BSgenome objects

n.layers

1

layer.names

paste("LAYER",1:n.layers, sep=".")

verbose

Give more output [FALSE]

Value

"LayerList"

See Also

runLayerBinding.BSgenome

Examples

require(Biostrings)
require(BSgenome.Scerevisiae.UCSC.sacCer3)  # a relatively small genome

genome <- BSgenome.Scerevisiae.UCSC.sacCer3 
scLayerSet <- createLayerSet.BSgenome(genome, n.layers=5)

scLayerSet2 <- createLayerSet.BSgenome(genome, layer.names=c("H3K4me1", "H3K27me3"))


davetgerrard/GenomicLayers documentation built on Nov. 21, 2024, 6:21 a.m.