trim_results: Trim Ontology Results

Description Usage Arguments Details Value Examples

View source: R/aopxplorer.R

Description

Trims off the namespace from ontology items.

Usage

1

Arguments

x

an object of class vector that contains ontology class or individual names with the namespace attached.

Details

This function trims off the namespace information from ontology items. It should only be used when an rdfs:label has not been specified for the class or individual.

Value

trimmed_results a vector object that only contains the class or individual names.

Examples

1
2
3
4
5
## Not run: 
x <- "<http://aopkb.org/aop_ontology#Steatosis>"
trim_results(x)

## End(Not run)

DataSciBurgoon/aopxplorer2 documentation built on May 6, 2019, 1:52 p.m.