krumsieklab / maplet

R statistical toolbox for metabolomics
GNU General Public License v3.0
17 stars 6 forks source link

Make lm function output correlation values #122

Closed KelseyChetnik closed 3 years ago

KelseyChetnik commented 3 years ago

In GitLab by @krumsiek on Jul 13, 2020, 16:00

For continuous outcomes only. This is just to accompany the scatter plots, no correlation-based statistical testing needed.

krumsiek commented 3 years ago

Seems to be the wrong approach, since lm does not generate correlations. We could add an optional correlation parameter to the scatterplot function instead. Otherwise, the user has to call one of the correlation functions.