SequenceModDNAStringSetTrack-class {RNAmodR} | R Documentation

## ModDNASequenceTrack

### Description

A `Gviz` compatible `SequenceTrack` for showing modified DNA sequences.

### Usage

    ModDNASequenceTrack(sequence, chromosome, genome, name = "SequenceTrack", ...)

    ## S4 method for signature 'SequenceModDNAStringSetTrack'
    seqnames(x)

    ## S4 method for signature 'SequenceModDNAStringSetTrack'
    seqlevels(x)

### Arguments

`sequence` | A `character` vector or `ModDNAString` object of length one. The sequence to display. See `SequenceTrack`.
`chromosome, genome, name, ...` | See `SequenceTrack`.
`x` | A `SequenceModDNAStringSetTrack` object.

### Value

a `SequenceModDNAStringSetTrack` object

### Slots

`sequence`

  A `ModDNAStringSet` object

### Examples

    seq <- ModDNAStringSet(c(chr1 = paste0(alphabet(ModDNAString()),
                                           collapse = "")))
    st <- ModDNASequenceTrack(seq)
    Gviz::plotTracks(st, chromosome = "chr1",from = 1L, to = 20L)

[Package RNAmodR version 1.4.2 Index]