ztransform {microbiome} | R Documentation

## Z Transformation

### Description

Z transform for matrices

### Usage

    ztransform(x, which)

### Arguments

`x` | a matrix
`which` | margin

### Details

Performs centering (to zero) and scaling (to unit variance) across samples for each taxa.

### Value

Z-transformed matrix

### Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

### References

See citation('microbiome')

### Examples

    ## Not run:
      data(peerj32)
      pseqz <- ztransform(abundances(peerj32$phyloseq))

    ## End(Not run)

[Package microbiome version 1.0.2 Index]