ztransform | R Documentation |
Z transform for matrices
ztransform(x, which, log10 = TRUE)
x |
a matrix |
which |
margin |
log10 |
apply log10 transformation before Z |
Performs centering (to zero) and scaling (to unit variance) across samples for each taxa.
Z-transformed matrix
Contact: Leo Lahti microbiome-admin@googlegroups.com
See citation('microbiome')
#data(peerj32)
#pseqz <- ztransform(abundances(peerj32$phyloseq))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.