View source: R/coda4microbiome_functions.R
explore_zeros | R Documentation |
Provides the proportion of zeros for a pair of variables (taxa) in table x and the proportion of samples with zero in both variables. A bar plot with this information is also provided. Results can be stratified by a categorical variable.
explore_zeros(x, id1, id2, strata = NULL)
x |
abundance matrix or data frame (rows are samples, columns are variables (taxa)) |
id1 |
column number in x for the first taxa |
id2 |
column number in x for the second taxa |
strata |
stratification variable (default = NULL) |
a list with the frequency table and the associated bar plot
M. Calle - T. Susin
data(HIV, package = "coda4microbiome")
explore_zeros(x_HIV,5,6)
explore_zeros(x_HIV,5,6, strata=y_HIV)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.