select_one_sample: Select one sample from a physeq object

View source: R/dada_phyloseq.R

select_one_sampleR Documentation

Select one sample from a physeq object

Description

lifecycle-experimental

Mostly for internal used, for example in function track_wkflow_samples().

Usage

select_one_sample(physeq, sam_name, silent = FALSE)

Arguments

physeq

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

sam_name

(required) The sample name to select

silent

(logical) If true, no message are printing.

Value

A new phyloseq-class object with one sample

Author(s)

Adrien Taudière

Examples


A8_005 <- select_one_sample(data_fungi, "A8-005_S4_MERGED.fastq.gz")
A8_005

MiscMetabar documentation built on Oct. 8, 2024, 1:07 a.m.