Description Usage Arguments Author(s) See Also Examples
A track to display peptides and protein sequences.
1 | ProteinSequenceTrack(sequence = NULL, name = "Sequence", ...)
|
sequence |
A |
name |
A |
... |
Additional items which will all be interpreted as display parameters. |
Renan Sauteraud
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | if(require(pepDat)){
data(pep_hxb2)
hxb2_seq <- metadata(pep_hxb2)$sequence
st<-ProteinSequenceTrack(sequence=hxb2_seq, name="env")
# Plotting amino acids
plotTracks(st, to = 20)
# When the range becomes wider, only coloured squares are displayed
plotTracks(st, to = 100)
# When overplotting, a single line will mark the ProteinSequenceTrack
plotTracks(st)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.