createComposeLookup {Rdiagnosislist} | R Documentation |
Creates composition lookup table for a set of SNOMED CT concepts
createComposeLookup(
decompositions,
CDB,
maxcol = 10,
SNOMED = getSNOMED(),
...
)
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 |
data.table
decompose, compose, batchDecompose
# Not run
# mylookup <- createComposeLookup(D)