search for: checkmolecule

Displaying 1 result from an estimated 1 matches for "checkmolecule".

2010 Jul 07
2
how to define method for "+" function in a new class
...trying to look at it at intermediate stages): setMethod( f=3D"+", signature(x=3D"Molecule",y=3D"Molecule"), definition=3Dfunction(x,y,...) { # Check both objects are correct checkMolecule(x) checkMolecule(y) # Extract chains information ch1 <- getMoleculeChains(x) ch2 <- getMoleculeChains(y) union_ch <- unique(c(ch1,ch2)) not_used <- .ALPHA...