DASL-Lab / provoc

PROportions of Variants of Concern using counts, coverage, and a variant matrix.
https://dasl-lab.github.io/provoc/
MIT License
0 stars 0 forks source link

Implement `provoc` class (S3) #14

Closed DBecker7 closed 4 months ago

DBecker7 commented 7 months ago

S3 classes are just named lists with a class name assigned to them. A provoc class would just be a named list, but then the generic summary() function of on a provoc object would look for a function named summary.provoc().

Below is an idea for what entries those lists might contain.

TODO: Check the entries in lm and glm objects to see what they contain. (Initial check: lm does contain a copy of the original data that was required to fit the model, but not other parts of the data. They also contain the residuals, and some lm specific info.)

DBecker7 commented 4 months ago

Closed with Provoc Class Refactor PR