Displaying 1 result from an estimated 1 matches for "getmoleculechain".
Did you mean:
getmoleculechains
2010 Jul 07
2
how to define method for "+" function in a new class
...t;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 <- .ALPHABET
for (i in seq(along =3D union_ch))
{
idx <- which(not_used !=3D union...