powered by
Get the ancestral object of a Site object.
# S3 method for Site getAncestral(this, ...)
A Site object.
Not used.
A Site object, a Process object or NA.
For more information see Site.
Site
# NOT RUN { a<-Alphabet(); # create some site object s1<-Site(alphabet=a) s2<-Site(ancestral=s1, alphabet=a) # get ancestral objects getAncestral(s1) s2$ancestral # }
Run the code above in your browser using DataLab