Skip to contents

Draw sequencing depth per sample.

Usage

plot_sample_depth(object, x = "sample_id", geom = c("bar", "point"))

Arguments

object

A microbiome_dataset object.

x

Sample metadata column shown on the x axis.

geom

Geometry used to display depth.

Value

A ggplot object.

Examples

data("global_patterns", package = "microbiomedataset")

plot_sample_depth(global_patterns, x = "SampleType")