calour.plotting.
plot_core_features
(exp: calour.experiment.Experiment, field=None, steps=None, cutoff=2, frac=0.9, iterations=10, alpha=0.5, linewidth=0.7, ax=None)[source]¶Plot the percentage of core features shared in increasing number of samples.
To see if there is a core feature set shared across most of the samples.
As an example of this type of plot, please see Fig 2C in Muegge, B. D. et al. Diet drives convergence in gut microbiome functions across mammalian phylogeny and within humans. Science 332, 970–974 (2011).
Warning
The samples should be normalized by rarefaction instead of other normalization methods. Otherwise, the samples with higher sequencing depth will artificially share more OTUs with each other.
Note
This function is also available as a class method Experiment.plot_core_features()
Parameters: |
|
---|---|
Returns: | The Axes object containing the plot. |
Return type: |