Description Usage Arguments Value Author(s) See Also Examples
View source: R/parsePhyloProfile.R
Calculate percentage of present species in each super taxon
1 | calcPresSpec(profileWithTax, taxaCount)
|
profileWithTax |
data frame of main PhyloProfile input together with their taxonomy info (see ?profileWithTaxonomy) |
taxaCount |
number of species occur in each supertaxon (e.g. phylum or kingdom) |
A data frame with
Vinh Tran tran@bio.uni-frankfurt.de
profileWithTaxonomy
for a demo input data
1 2 3 4 5 | # NOTE: for internal testing only - not recommended for outside using
data("profileWithTaxonomy", package="PhyloProfile")
taxaCount <- plyr::count(profileWithTaxonomy, "supertaxon")
taxaCount$freq <- 1
calcPresSpec(profileWithTaxonomy, taxaCount)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.