time_normalize {microbiome} | R Documentation |
Shift the time field in phyloseq sample_data such that the first time point of each subject is always 0.
time_normalize(x)
x |
phyloseq object. The sample_data(x) should contain the following fields: subject, time |
Phyloseq object with a normalized time field
data(peerj32) pseq <- time_normalize(peerj32$phyloseq)