data(flu_weight)
# The linear regression below tests whether DNA methylation differences at a
# given locus are predicted by pair level variables (such as gender, age
# or both).
(logarithm_differences <- log_dif(DNAmeth ~ Gender + Age, data=flu_weight))
Run the code above in your browser using DataLab