Force taxa to be in columns in the otu_table of a physeq object
Source:R/dada_phyloseq.R
taxa_as_columns.RdArguments
- physeq
(required) a
phyloseq-classobject obtained using thephyloseqpackage.
Value
A new phyloseq-class object
Examples
taxa_as_columns(data_fungi_mini)
#> Taxa are now in columns.
#> phyloseq-class experiment-level object
#> otu_table() OTU Table: [ 45 taxa and 137 samples ]
#> sample_data() Sample Data: [ 137 samples by 7 sample variables ]
#> tax_table() Taxonomy Table: [ 45 taxa by 12 taxonomic ranks ]
#> refseq() DNAStringSet: [ 45 reference sequences ]