check_newick: Check the validity of input newick tree

Description Usage Arguments Value Author(s) See Also Examples

Description

Check the validity of input newick tree

Usage

1
check_newick(tree, input_taxonID)

Arguments

tree

input newick tree

input_taxonID

list of all input taxon ID

Value

checking result (1 = missing parenthesis; 2 = missing comma; 3 = tree has singleton; or list of missing taxa in profile)

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

See Also

get_input_taxa_id for getting input taxon IDs, pp_tree for an example of input tree

Examples

1
2
data("pp_tree", package="phyloprofile")
check_newick(pp_tree, c("ncbi3702", "ncbi3711", "ncbi7029"))

trvinh/test documentation built on May 9, 2019, 2:26 a.m.