Converts the denoise artifact to a phyloseq object.

as_phyloseq(object, metadata = NULL)

Arguments

object

The artifact returned by denoise.

metadata

Sample metadata to add to the phyloseq object. Must have rownames that match the sample names.

Value

A phyloseq object with additional annotations.