View source: R/getSBDRxCuiViaRxCui.R
getSBDRxCuiViaRxCui | R Documentation |
This function provides user to get Semantic Branded Drug(SBD) or Semantic Clinical Drug(SCD) RxCui via ingredient RxCui.
getSBDRxCuiViaRxCui(df, RxCuiColName = RxCui, cores = 8)
df |
data.frame, a drug ingredient RxCui of the specific indication |
RxCuiColName |
a column name for RxCui of df |
cores |
number of parallel operation |
After obtaining the data.frame from getRxCuiViaMayTreat()
and getRxCuiViaMayPrevent()
, user can further obtain a commercially available pharmaceutical brand and clinical drug contained these drug ingredients.
The content is to add a column named SBD.rxcui
in the original input data frame, stores the result of converting ingredient to brand drug and clinical drug containing a specific drug component.
A new data.table maytreat_SBD_SCD_List
with following columns.
RxCui
drug RxCui
Name
drug name
MinConcept.Id
indication Id
MinConcept.Name
indication name
SBD.rxcui
drug SBD RxCui
# sample of getting SBD or SCD Rxcui list of esophagitis. Esophagitis_SBD_SCD_List <- getSBDRxCuiViaRxCui(df = Esophagitis_List[3,],RxCuiColName = RxCui,cores = 2) head(Esophagitis_SBD_SCD_List)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.