batchDecompose {Rdiagnosislist} | R Documentation |
Creates composition lookup table for a set of SNOMED CT concepts
batchDecompose(conceptIds, CDB, output_filename, SNOMED = getSNOMED(), ...)
conceptIds |
SNOMED CT concept IDs for creating decompositions |
CDB |
concept database environment, containing a table called FINDINGS |
output_filename |
filename of output file |
SNOMED |
environment containing a SNOMED dictionary |
... |
out |
TRUE if successful
decompose, compose, createComposeLookup
# Load the SNOMED dictionary (for this example we are using the
# sample included with the package)
SNOMED <- sampleSNOMED()
# Create a concept database environment
miniCDB <- createCDB(SNOMED = SNOMED)
# Create a decomposition
D <- decompose('Cor pulmonale', CDB = miniCDB, noisy = TRUE)
print(D)