conceptDecoder: This function returns the concept terms corresponding to an...

Description Usage Arguments Details Value Examples

Description

This function returns the concept terms corresponding to an input set of concept IDs.

Usage

1
2
conceptDecoder(connection, schema, dbms, model, numFeats, breaker = ":",
  typeInd = 1, idInd = 2)

Arguments

connection

The connection to the database server.

schema

The database schema being used

dbms

The target DBMS for SQL to be rendered in.

model

The model object; will be used to extract top-ranking features

numFeats

The number of features you'd like returned

breaker=":"

Which sort of breaker is used in feature names (e.g. for "obs:12345" it would be ":")

typeInd1=1

Indice after string split defining which feature class (e.g. [1] for "obs:12345" defines obs)

idInd=1

Indice after string split defining which concept_id (e.g. [2] for "obs:12345 defines "12345")

Details

This function returns the concept terms corresponding to an input set of concept IDs. Use case: to investigate highly-ranked features from classification model

Value

A list of concept terms and concept ids, corresponding to the IDs of interest

Examples

1
2
3
4
5
6
## Not run: 

 high_ranking_concepts <- conceptDecoder(connection, schema, dbms, model, 20)


## End(Not run)

OHDSI/Aphrodite documentation built on Sept. 18, 2020, 10:26 p.m.