createTransitive | R Documentation |
Returns a data.table containing ancestor / descendant relationships which can be used in ancestors and descendants functions
createTransitive(
conceptIds,
SNOMED = getSNOMED(),
tables = c("RELATIONSHIP", "STATEDRELATIONSHIP")
)
conceptIds |
character or integer64 vector of SNOMED concept IDs for the subset of concepts to include in the transitive table. |
SNOMED |
environment containing a SNOMED dictionary |
tables |
vector of names of relationship table(s) to use; by default use both RELATIONSHIP and STATEDRELATIONSHIP |
[ancestors()] and [descendants()]
SNOMED <- sampleSNOMED()
TRANSITIVE <- createTransitive('Heart failure')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.