View source: R/initialize_primers_tree.R
get.tree.seqs | R Documentation |
Creates all possible consensus sequences from a phylogenetic tree.
get.tree.seqs(tree, max.degen, primer.candidates)
tree |
The phylogenetic tree. |
max.degen |
The maximal degeneration of consensus primers. |
primer.candidates |
Alignment of primers. |
Ambiguous sequences are only generated with a degeneracy of at most max.degen
.
The tree is iterated from leaves to the top, i.e., starting from least degeneracy to most degeneracy.
Merges only take place when the degeneracy of the resulting sequence would
be at most max.degen
. Gaps are removed from the alignments.
Data frame with consensus primers extracted from the tree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.