Closed michaelmhoffman closed 3 years ago
Is the minimum of 4.0.0 really necessary for this package? I can't even get this through Conda which only provides 3.6.1 (or 3.5.0 for Linux-x32). I can see that the latest Bioconductor requires 4.0.3.
I can check. I haven't attempted to run with anything less than 3.6.3 (and personally I despise conda which always seems to wreck my installations of... everything unless individual conda envs are parceled out for each little task). Supporting older versions of R may or may not be worth the trouble given that Bioconductor distribution implies >= 4.0.0. But I'll give it a shot on my old beater laptop and see what happens.
> R.version$version.string
[1] "R version 3.6.3 (2020-02-29)"
> model_glm_pmol(scan_spike_counts(sb, spike=spike))
Call: glm(formula = conc ~ read_count + fraglen + GC + CpG_3, data = x)
Coefficients:
(Intercept) read_count fraglen GC CpG_3
9.000e-04 5.152e-24 1.353e-20 -6.435e-20 -4.052e-19
Degrees of Freedom: 25 Total (i.e. Null); 21 Residual
Null Deviance: 3.056e-37
Residual Deviance: 5.689e-36 AIC: -2109
> model_bam_standards(scc)
AICc -3643.25 logPost 1780.803 logLik 1827.763 edf 6.0000 eps 0.1952 iteration AICc -3666.77 logPost 1792.565 logLik 1839.525 edf 6.0000 eps 0.0118 iteration AICc -3667.70 logPost 1793.031 logLik 1839.991 edf 6.0000 eps 0.0025 iteration AICc -3667.70 logPost 1793.032 logLik 1839.992 edf 6.0000 eps 0.0001 iteration AICc -3667.70 logPost 1793.032 logLik 1839.992 edf 6.0000 eps 0.0001 iteration 4
elapsed time: 0.01sec
|********************| 100% 0.00sec 1.57sec
Family: gaussian
Link function: mu = identity, sigma = log
*---
Formula mu:
---
conc ~ read_count + fraglen + GCfrac + CpGs_3
Formula sigma:
---
sigma ~ 1
I guess it runs with R-3.6.3, or at least tolerates it. You're going to have a bad time with CRAMs on 3.6.3, though.
I just tried to install spiky and after 15 min 6 s of installing dependencies get
This is frustrating, could you please mention the minimum R version in the README?