rename_samples_otu_table {MiscMetabar}R Documentation

Rename samples of an otu_table

Description

[Experimental]

Usage

rename_samples_otu_table(physeq, names_of_samples)

Arguments

physeq

(required): a phyloseq-class object obtained using the phyloseq package.

names_of_samples

(required) The new names of the samples

Value

the matrix with new colnames (or rownames if taxa_are_rows is true)

Author(s)

Adrien Taudière

Examples


rename_samples_otu_table(data_fungi, as.character(seq_along(sample_names(data_fungi))))


[Package MiscMetabar version 0.9.1 Index]