getNodeSeq - Return IMGT gapped sequence of specified tree node
Description¶
getNodeSeq
Sequence retrieval function.
Usage¶
getNodeSeq(data, node, tree = NULL, clone = NULL, gaps = TRUE)
Arguments¶
- data
- a tibble of
airrClone
objects, the output of getTrees - node
- numeric node in tree (see details)
- tree
- a
phylo
tree object containingnode
- clone
- if
tree
not specified, supply clone ID indata
- gaps
- add IMGT gaps to output sequences?
Value¶
A vector with sequence for each locus at a specified node
in tree
.
Details¶
Use plotTrees(trees)[[1]] + geom_label(aes(label=node))+geom_tippoint() to show node labels, and getNodeSeq to return internal node sequences