SequenceModRNAStringSetTrack-class: ModRNASequenceTrack

SequenceModRNAStringSetTrack-classR Documentation

ModRNASequenceTrack

Description

A Gviz compatible SequenceTrack for showing modified RNA sequences.

Usage

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

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

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

Arguments

sequence

A character vector or ModRNAString object of length one. The sequence to display. See SequenceTrack.

chromosome, genome, name, ...

See SequenceTrack.

x

A SequenceModRNAStringSetTrack object.

Value

a SequenceModRNAStringSetTrack object

Slots

sequence

A ModRNAStringSet object

Examples

seq <- ModRNAStringSet(c(chr1 = paste0(alphabet(ModRNAString()),
                                       collapse = "")))
st <- ModRNASequenceTrack(seq)
Gviz::plotTracks(st, chromosome = "chr1",from = 1L, to = 20L)

FelixErnst/RNAmodR documentation built on March 27, 2024, 2:42 a.m.