YosefLab/scone

R-squared

drisso opened this issue · 1 comments

This line of code:

lm(y ~ qc_factors)$residual

could be more easily written as:

summary(lm(y ~ qc_factors))$r.squared

But it could be less efficient since summary computes a bunch of things not just the R-squared.