timesplit {microbiome} | R Documentation

## Time Split

### Description

For each subject, return temporally consecutive sample pairs together with the corresponding time difference.

### Usage

    timesplit(x)

### Arguments

`x` | phyloseq object.

### Value

data.frame

### Author(s)

Leo Lahti leo.lahti@iki.fi

### Examples

    data(atlas1006)
    x <- timesplit(subset_samples(atlas1006,
      DNA_extraction_method == 'r' & sex == "male"))

[Package microbiome version 1.12.0 Index]