View source: R/func_rank_plot.R
func_rank_plot | R Documentation |
Plots TPM vs ranked otu and avg occ vs avg TPM.
func_rank_plot(functional_profile, sample, mini_tpm, threshold)
functional_profile |
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, |
mini_tpm |
a value indicating whether the function is present, |
threshold |
a value indicating the final percent increase in beta-diversity, |
Plots TPM vs ranked otu and avg occ vs avg TPM.
A scatter plot showing the relationship between TPM and ranked otu with color denoting and core or non-core functional otu and a line indicating the threshold and a scatter plot showing the relationship between average occurancy and average TPM with color denoting and core or non-core functional otu and a line indicating the threshold.
func_rank_plot(functional_profile, sample, mini_tpm=10000, threshold=0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.