plot_tipping {microbiome} | R Documentation |
Plot variation in taxon abundance for many subjects.
plot_tipping( x, taxon, tipping.point = NULL, lims = NULL, shift = 0.001, xlim = NULL )
x |
|
taxon |
Taxonomic group to visualize. |
tipping.point |
Optional. Indicate critical point for abundance variations to be highlighted. |
lims |
Optional. Figure X axis limits. |
shift |
Small constant to avoid problems with zeroes in log10 |
xlim |
Horizontal axis limits |
Assuming the sample_data(x) has 'subject' field and some subjects have multiple time points.
ggplot
object
Contact: Leo Lahti microbiome-admin@googlegroups.com
See citation('microbiome')
data(atlas1006) pseq <- subset_samples(atlas1006, DNA_extraction_method == 'r') pseq <- transform(pseq, 'compositional') p <- plot_tipping(pseq, 'Dialister', tipping.point=1)