time_normalize: Normalize Phyloseq Metadata Time Field

Description Usage Arguments Value Examples

View source: R/time_normalize.R

Description

Shift the time field in phyloseq sample_data such that the first time point of each subject is always 0.

Usage

1

Arguments

x

phyloseq object. The sample_data(x) should contain the following fields: subject, time

Value

Phyloseq object with a normalized time field

Examples

1
2
data(peerj32)
pseq <- time_normalize(peerj32$phyloseq)

microbiome documentation built on Nov. 8, 2020, 5:08 p.m.