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

lifecycle-experimental

Useful for targets bioinformatic pipeline.

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


adrientaudiere/MiscMetabar documentation built on Oct. 13, 2024, 9:42 p.m.