ztransform {microbiome} | 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))