Description Usage Arguments Value Author(s) Examples
Thes functions derive all available data relating to genetic sequences, tips of a tree, or individuals, based on matching individuals identifiers and collection dates. Note that for individuals, repeated measures will result in a 'wide' format for a data.frame, with possibly many missing entries resulting from uneven sampling.
1 2 3 4 5 | make.sequence.attributes(x)
make.tip.attributes(x, which.tree=1)
make.individual.attributes(x)
|
x |
an obkData object. |
which.tree |
an integer indicating which tree to use. |
A data.frame
named after the sequences, the tips, or the individuals, with various meta-information.
Thibaut Jombart t.jombart@imperial.ac.uk
1 2 3 4 5 6 7 8 9 10 11 12 | data(ToyOutbreak)
data(HorseFlu)
head(make.tip.attributes(ToyOutbreak))
head(make.sequence.attributes(HorseFlu))
## no repeated measures
head(make.individual.attributes(ToyOutbreak))
## note wide format when there are repeated measures
head(make.individual.attributes(HorseFlu))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.