Skip to contents

rsearch2phyloseq converts an Rsearch object to a phyloseq object.

Usage

rsearch2phyloseq(rsearch.obj, sample_id_col = "sample_id")

Arguments

rsearch.obj

(Required). An Rsearch object, see rsearch_obj.

sample_id_col

(Optional). A character string specifying the name of the column in sampledata.df that contains sample identifiers. Defaults to "sample_id".

Value

A phyloseq object.

Details

This function converts an Rsearch object, which is a simple list, to a phyloseq object from the phyloseq R package.

See also

Examples

if (FALSE) { # \dontrun{
# Convert Rsearch object to phyloseq object
phy_obj <- rsearch2phyloseq(obj, sample_id_col = "sample_id")
} # }