bracken_to_phyloseq: Converts BRACKEN results to a phyloseq object.

View source: R/convert.R

bracken_to_phyloseqR Documentation

Converts BRACKEN results to a phyloseq object.

Description

Converts BRACKEN results to a phyloseq object.

Usage

bracken_to_phyloseq(bracken, metadata = NULL, id_col = "sample_id")

Arguments

bracken

A data.table containing the BRACKEN quantifications.

metadata

A metadata in data.table format to use.

id_col

Column in the metdata corresponding to the sample IDs in the BRACKEN counts.

Value

A phyloseq object for the data.

Examples

NULL


Gibbons-Lab/mbtools documentation built on Jan. 28, 2024, 11:08 a.m.