[R] How to do it in R

André Luis Neves andrluis at ualberta.ca
Fri Jun 24 18:05:08 CEST 2016


Dear all,

I`ve got to calculate the ratio of methanogens to bacteria, but I wouldn`t
like to divide the total copy numbers of methanogens ( on average 10^8) by
bacteria (10^10) because they have different exponents and bases. So, my
idea is to standardize both microorganisms counts to 10^3.

Hypothetical example of what I`d like to do:

Total Methanogens: 28 x 10^3
Total bacteria: 710 x 10^3


Total: 710 + 28= 738 x 10^3

Met/bac Ratio : (28/738)*100 = 3.79%

How could I perform this calculation in R?

Thanks,

-- 
Andre

	[[alternative HTML version deleted]]



More information about the R-help mailing list