Pearson Correlation in R

I don't think correlation is what you need for this problem and don't think it will work. You might need a different sort of test.

I assume that you want to figure out if the bacterial families are related to the physical parameters.