rename_samples_otu_table: Rename samples of an otu_table

View source: R/targets_misc.R

rename_samples_otu_tableR 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))))


MiscMetabar documentation built on May 29, 2024, 10:39 a.m.