Description Usage Arguments Value Author(s) Examples
Generate the in_group
1 2 | get_common_ancestor(in_group, rank, name_list, selected_in_group,
ncbi_id_list)
|
in_group |
list of taxa |
rank |
selected rank |
name_list |
contains "ncbiID", "fullName", "rank", "parentID" |
selected_in_group |
contains "abbrName, "ncbiID", fullName", "strain", "genus".. |
ncbi_id_list |
list of input taxon IDs |
common anchestor
Carla Mölbert (carla.moelbert@gmx.de)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | in_group <- c("Aeropyrum pernix", "Agrobacterium fabrum")
rank <- "species"
name_list_file <- system.file(
"extdata", "data/taxonNamesFull.txt",
package = "phyloprofile", mustWork = TRUE
)
name_list <- as.data.frame(data.table::fread(name_list_file))
selected_in_group <- get_taxonomy_matrix(FALSE, NULL)
ncbi_id_list <- c(56636, 1176649)
get_common_ancestor(
in_group,
rank,
name_list,
selected_in_group,
ncbi_id_list
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.