is.compositional {microbiome} | R Documentation

## Check Compositionality

### Description

Check if a phyloseq object is compositional.

### Usage

    is.compositional(x)

### Arguments

`x` | `phyloseq-class` object

### Value

Logical TRUE/FALSE

### Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

### References

See citation('microbiome')

### Examples

    data(dietswap)
    d <- is.compositional(dietswap)
    d <- is.compositional(transform(dietswap, "compositional"))

[Package microbiome version 1.8.0 Index]