
Last chance! 50% off unlimited learning
Sale ends in
Get the list of the Site object aggregated in a Sequence object. Warning: there is no setSites method!
# S3 method for Sequence
getSites(this, ...)
A Sequence object.
Not used.
A list of Site objects.
For more information see Sequence
.
# NOT RUN {
# create a sequence object
s<-Sequence(alphabets=list(NucleotideAlphabet()),string="AATTGCCC")
# get the list of aggregated Site objects
getSites(s)
# get Site objects via virtual field
s$sites
# }
Run the code above in your browser using DataLab