I organized my dataset so that it would look like like this:
Sample Target Concentration
sample1 mutant 18.36
sample1 wildtype 3563.34
sample2 mutant 19.33
sample2 wildtype 3650.24
sample3 mutant 15.81
sample3 wildtype 3920.16
Sample Mutant/wildtype
sample1 18.36/356334
sample2 19.33/3650.24
sample3 15.81/3920.16
I want to calculate the mutant to wild type ratio by sample but couldn't find a specific argument in the mutate function of r for this seemingly simple task.