ztransform: Z Transformation

Description Usage Arguments Details Value Author(s) References Examples

View source: R/transform.R

Description

Z transform for matrices

Usage

1

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

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

microbiome documentation built on Nov. 8, 2020, 5:08 p.m.