Description Usage Arguments Value Examples
Run skygrowth and treestructure on clades defined by s614 polymorphism
1 | s614_phylodynamics(tds, s614, ...)
|
tds |
List or multiPhylo of treedater trees or ape::phylo |
s614 |
A data frame produced by compute_spike614genotype |
... |
Additional arguments passed to sarscov2::skygrowth1 |
A list with skygrowth for G and D, and a list of treestructure tests for each tree
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
library( sarscov2 )
spikedf = compute_spike614genotype( 'algn3.fasta', 'algn4.fasta' )
# inspect spikedf to make sure it a assigned D or G
# some precomputed treedater trees corersponding to algn3.fasta:
tds = readRDS('tds.rds' )
result = s614_phylodynamics( tds, spikedf)
print( result$treestructureTests )
# make a plot
add_ggR_sarscov2skygrowth( result$sgD, result$sgG )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.