createLayerList.DNAstring: Create a LayerList object from a DNA sequence

View source: R/createLayerList.DNAString.R

createLayerList.DNAstringR Documentation

Create a LayerList object from a DNA sequence

Description

Create a LayerList object from a DNAString object

Usage

createLayerList.DNAstring(
  seq,
  layerNames = NULL,
  nLayers = length(layerNames),
  verbose = TRUE
)

Arguments

seq

a ("DNAString" object

layerNames

a character vector of names for the layers. Should be unique

nLayers

How many layers to make. Can be specified _instead_ of _layerNames_

verbose

Output extra information

Value

"LayerList"

Examples

library(Biostrings)
mySeq <- DNAString("TGACATCGTCTATCGATCG")
createLayerList.DNAstring(seq=mySeq, nLayers=1)


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