ztransform {microbiome}R Documentation

Z Transformation

Description

Z transform for matrices

Usage

ztransform(x, which, log10 = TRUE)

Arguments

x

a matrix

which

margin

log10

apply log10 transformation before Z

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.16.0 Index]