Learn R Programming

rBiopaxParser (version 2.10.0)

isOfNamespace: Check if a classname is preceeded by a certain namespace tag like in "namespace:classname"

Description

This function checks if the supplied input string starts with a supplied namespace tag

Usage

isOfNamespace(classname, namespace = "bp")

Arguments

classname
A string containing the classname to check
namespace
A string giving the namespace to check for

Value

This function returns TRUE if the supplied classname string is preceeded with the supplied namespace string, and FALSE if not.