View source: R/createLayerSet.BSgenome.R
createLayerSet.BSgenome | R Documentation |
Convenience wrapper to quickly create a layerList from a BSgenome object.
createLayerSet.BSgenome(
genome,
n.layers = 1,
layer.names = paste("LAYER", 1:n.layers, sep = "."),
verbose = FALSE
)
genome |
a BSgenome objects |
n.layers |
1 |
layer.names |
paste("LAYER",1:n.layers, sep=".") |
verbose |
Give more output [FALSE] |
"LayerList"
runLayerBinding.BSgenome
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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.