ztransform {microbiome} | R Documentation |
Z transform for matrices
ztransform(x, which)
x |
a matrix |
which |
margin |
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')
## Not run: #data(peerj32) #pseqz <- ztransform(abundances(peerj32$phyloseq)) ## End(Not run)