Learn R Programming

rphast (version 1.0)

prune.tree: Prune a Tree

Description

Prune sequences from a file

Usage

prune.tree(tree, seqs, all.but=FALSE)

Arguments

tree
A vector of character strings, each containing a newick tree
seqs
The sequences to prune from the trees
all.but
A logical value. If false, prunes all the named sequences from the tree. If TRUE, prunes all sequences except the ones named.

Value

  • a vector of character strings representing the pruned trees.