Description Usage Arguments Value Author(s) See Also Examples
Calculate percentage of present species in each ortholog group
1 | calc_pres_spec(profile_with_tax, taxa_count)
|
profile_with_tax |
long data frame of main phyloprofile input together with their taxonomy info |
taxa_count |
number of species occur in each supertaxon |
A data frame with each supertaxon
Vinh Tran tran@bio.uni-frankfurt.de
profile_with_taxonomy
for a demo input data
1 2 3 4 5 | # NOTE: for internal testing only - not recommended for outside using
data("profile_with_taxonomy", package="phyloprofile")
taxa_count <- plyr::count(profile_with_taxonomy, "supertaxon")
taxa_count$freq <- 1
calc_pres_spec(profile_with_taxonomy, taxa_count)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.