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

Define `summary` and `plot` methods for objects of class `provoc`. #6

Closed DBecker7 closed 6 months ago

DBecker7 commented 9 months ago

This must come after #2.

mymodel <- provoc(...)
summary(mymodel)
plot(mymodel)

Should produce meaningful outputs, similar to summary.glm() and plot.glm().

Note that, in R, defining a function named summary.provoc is enough to make it a summary method for objects of class provoc. R has awful naming conventions - try to avoid . in object names.

DBecker7 commented 6 months ago

Not fully finished, but progress will be made as other issues are closed.