plot_read_distribution {microbiomeutilities}R Documentation

Distribution of reads

Description

Plots distribution of reads.

Usage

plot_read_distribution(x, groups, plot.type = c("density", "histogram"))

Arguments

x

phyloseq-class object

groups

Metadata variable to check for groups based sequencing effort.

plot.type

Either density or histogram plot

Value

A ggplot plot object.

Author(s)

Contact: Sudarshan Shetty sudarshanshetty9@gmail.com

Examples

library(microbiome)
data(zackular2014)
ps0 <- zackular2014
p <- plot_read_distribution(ps0, groups = "DiseaseState", plot.type = "density")
print(p)

[Package microbiomeutilities version 0.99.02 Index]