Converts read count data to a phyloseq object.

reads_to_phyloseq(counts, feature_col, metadata = NULL, id_col = "sample_id")

Arguments

counts

A data.table containing at least columns "reads", "sample_id", and features.

feature_col

Column in the count table containing the features.

metadata

A metadata in data.table format to use.

id_col

Column in the metadata corresponding to the sample IDs in the read counts.

Value

A phyloseq object for the data.

Examples

NULL
#> NULL