createComposeLookup {Rdiagnosislist} | R Documentation |
Creates a set of lookups for SNOMED composition
Description
Creates composition lookup table for a set of SNOMED CT concepts
Usage
createComposeLookup(
decompositions,
CDB,
maxcol = 10,
SNOMED = getSNOMED(),
...
)
Arguments
decompositions |
vector of filenames of decompose output (read by fread) or data.frame containing outputs of decompose function |
CDB |
concept database environment, containing a table called FINDINGS |
maxcol |
maximum number of attributes columns. If NULL it is determined from the data. It might be helpful to specify it so that downstream databases and programs know exactly how many columns to expect. We suggest setting it to 10 which should handle all possible SNOMED CT concept decompositions. |
SNOMED |
environment containing a SNOMED CT dictionary |
... |
other arguments to pass to fread |
Value
data.table
See Also
decompose, compose, batchDecompose
Examples
# Not run
# mylookup <- createComposeLookup(D)
[Package Rdiagnosislist version 1.3 Index]