addns: Add a namespace tag to the supplied classname string

Description Usage Arguments Value Author(s)

View source: R/helperFunctions.R

Description

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.

Usage

1
addns(classname, namespace = "bp")

Arguments

classname

A string containing a classname

namespace

A string containing a namespace

Value

If the classname is not preceeded by a namespace yet, the supplied namespace is pasted in front of it and returned.

Author(s)

Frank Kramer



rBiopaxParser documentation built on May 20, 2017, 10:14 p.m.
Search within the rBiopaxParser package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.