mgFeatures-class {metagenomeFeatures}R Documentation

Class mgFeature

Description

Class defines taxonomic annotation and reference sequence data for classified OTUs. The class indirectly extends the DataFrame class with a slot with a subset of the reference database sequences and phylogenetic tree for taxonomically classified OTUs, along with an additional slot for metadata including information on the database source.

Usage

mgFeatures(taxa = data.frame(), tree = NULL, seq = NULL, metadata)

Arguments

taxa

a DataFrame-class or object that can be coerced into a DataFrame

tree

a phylo-class object with phylogenetic tree

seq

DNAStringSet-object with feature sequences

metadata

a list

Value

mgFeature class object

mgFeatures-class object

Examples

data(mock_mgF)
mgFeatures(taxa = data.frame(), metadata = list())

[Package metagenomeFeatures version 2.8.0 Index]