knownClassIndividuals: List all individuals from a class

Description Usage Arguments Details Value Note Author(s) Examples

Description

List defined individuals pertaining to a specific class from a METACLIP vocabulary

Usage

1
knownClassIndividuals(classname, vocabulary = "datasource")

Arguments

classname

The parent class from which the individual instances are queried

vocabulary

The target vocabulary name. Possible values are "datasource" (the default), "calibration", "verification" and "graphical_output".

Details

The function will check the existing individuals in the latest stable datasource ontology release, available in http://metaclip.predictia.es/datasource/datasource.owl

Value

A character vector of individuals for that class

Note

The function won't work if there is no internet connection, or any other connection problem prevents read access to the ontology file.

Author(s)

J Bedia, D. San-Martín

Examples

1
2
3
4
5
6
knownClassIndividuals("ModellingCenter")
knownClassIndividuals("ETCCDI")
# In case a class is misspelled or it has no individuals, 
# an empty vector is returned, with a warning:
knownClassIndividuals("ETCDDI")
knownClassIndividuals("Dataset")

Predictia/metaclipR documentation built on May 14, 2019, 6:07 a.m.