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