The transform_sample_counts() function operates on samples individually, and so will not be able to do what you want. Phyloseq does not have a built-in function to do this as far as I know, and so I ...