View source: R/mean_occ_diff_plot.R
mean_occ_diff_plot | R Documentation |
Plots a heatmap showing the mean occurrence frequency difference between core and non-core otu under different minimal abundance and threshold.
mean_occ_diff_plot( otu, sample, min_abun, max_abun, abun_step, min_thre, max_thre, thre_step, sample_name, sample_group )
otu |
a community count data matrix with samples in rows and OTUs/taxa in column, |
sample |
a sample information data.frame. The rownames must match the sample names in the otu, |
max_abun |
the maximum abundance of the loop, |
abun_step |
the abundance step of the loop, |
max_thre |
the maximum threshold of the loop, |
thre_step |
the threshold step of the loop, |
sample_name |
the name of a column that containing the sample name, |
sample_group |
the name of a column that containing the sample type/group, |
mini_abun |
the minimum abundance of the loop, |
mini_thre |
the minimum threshold of the loop, |
Plots a heatmap showing the mean occurrence frequency difference between core and non-core otu under different minimal abundance and threshold.
A heatmap showing the mean occurrence frequency difference between core and non-core otu under different minimal abundance and threshold.
mean_occ_diff_plot(otu, sample, min_abun = 0, max_abun = 400, abun_step = 100, min_thre = 0, max_thre = 0.1, thre_step = 0.02, sample_name, sample_group)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.