taxa_sums | R Documentation |
Get summary taxa abundances.
taxa_sums(
biom,
rank = -1,
sort = NULL,
lineage = FALSE,
unc = "singly",
transform = "none"
)
taxa_means(
biom,
rank = -1,
sort = NULL,
lineage = FALSE,
unc = "singly",
transform = "none"
)
taxa_apply(
biom,
FUN,
rank = -1,
sort = NULL,
lineage = FALSE,
unc = "singly",
transform = "none",
...
)
biom |
An rbiom object, such as from |
rank |
What rank(s) of taxa to display. E.g. |
sort |
Sort the result. Options: |
lineage |
Include all ranks in the name of the taxa. For instance,
setting to |
unc |
How to handle unclassified, uncultured, and similarly ambiguous taxa names. Options are:
Abbreviations are allowed. Default: |
transform |
Transformation to apply. Options are:
|
FUN |
The function to apply to each row of the |
... |
Optional arguments to |
For taxa_sums
and taxa_means
, a named numeric vector.
For taxa_apply
, a named vector or list with the results of FUN
.
The names are the taxa IDs.
Other taxa_abundance:
sample_sums()
,
taxa_boxplot()
,
taxa_clusters()
,
taxa_corrplot()
,
taxa_heatmap()
,
taxa_stacked()
,
taxa_stats()
,
taxa_table()
library(rbiom)
taxa_sums(hmp50) %>% head(4)
taxa_means(hmp50, 'Family') %>% head(5)
taxa_apply(hmp50, max) %>% head(5)
taxa_apply(hmp50, fivenum) %>% head(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.