Description Usage Arguments Value
Calculate the percentage of each sample represented by the specified taxon or taxa.
1 2 3 4 5 6 7 8 9 10 11 |
.dataframe |
A data frame where each row should represent the number of individuals enumerated for a single taxon collected during a single sampling event. |
.key_col |
One unquoted column name that represents a key (i.e., unique ID) for a sampling event for which to group (i.e., aggregate) the data. |
.counts_col |
One unquoted column name that represents taxonomic counts. |
.group_col |
One unquoted column name that represents a taxomic rank or group of interest. |
.filter |
A logical statement to subset the data frame prior to calculating the metric of interest. |
.job |
A character string specifying the diversity metric of interest. Below is a list of exceptable inputs:
|
.base_log |
The base log value used during the calculation of Shannon Diversity index ("shannon") or Effective Shannon Diversity ("effective_shannon"). The default value is two. |
.q |
The exponent used during the calculation of Hill Numbers ("hill") and Renyi Entropy ("renyi"). |
.unnest_col |
One unqouted column name that represents nested data. If this column is NULL (default), then the data will not be unnested. |
A numeric vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.