Quantification of compartmentalized metabolism in eukaryotic systems