addns {rBiopaxParser} | R Documentation |
This function takes the input classname, checks if it already has a namespace, and if not pastes the namespace tag with a dividing ":" in front of it.
addns(classname, namespace = "bp")
classname |
A string containing a classname |
namespace |
A string containing a namespace |
If the classname is not preceeded by a namespace yet, the supplied namespace is pasted in front of it and returned.
Frank Kramer