Skip to content
Prev 16782 / 21307 Next

[Bioc-devel] How to use initializing functions correctly ?

Le Tue, May 12, 2020 at 10:18:24AM -0700, Herv? Pag?s a ?crit :
?
Thank you very much Herv?.  I think that I understand much better.  I
reformed my class to that it has a constructor that mimicks the
GPos(stitched = FALSE) one, plus an inializing function so that new()
can promote an UnstitchedGPos to the class, and finally a coerce method
so that GRanges can be converted.  The result is here:

https://github.com/charles-plessy/CAGEr/blob/fix-CTSS-GPos/R/CTSS.R

Not sure if you have time to have a look, but anybody's comments would
be appreciated if I am still doing things wrong.

Have a nice day,

Charles