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

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

[Package microbiome version 1.14.0 Index]