R/Gviz-ModifiedSequenceTrack-class.R
SequenceModRNAStringSetTrack-class.Rd
A Gviz
compatible
SequenceTrack
for showing modified
RNA sequences.
ModRNASequenceTrack(sequence, chromosome, genome, name = "SequenceTrack", ...)
# S4 method for SequenceModRNAStringSetTrack
seqnames(x)
# S4 method for SequenceModRNAStringSetTrack
seqlevels(x)
A character
vector or ModRNAString
object of
length one. The sequence to display. See
SequenceTrack
.
See
SequenceTrack
.
A SequenceModRNAStringSetTrack
object.
a SequenceModRNAStringSetTrack
object
sequence
A ModRNAStringSet
object
seq <- ModRNAStringSet(c(chr1 = paste0(alphabet(ModRNAString()),
collapse = "")))
st <- ModRNASequenceTrack(seq)
Gviz::plotTracks(st, chromosome = "chr1",from = 1L, to = 20L)