h2m: how to make herb to molecule or cid of molecule

Description Usage Arguments Value Examples

View source: R/h2m.R

Description

how to make herb to molecule or cid of molecule

Usage

1
h2m(x, type = "latin", OB = 30, DL = 0.18)

Arguments

x

the name of drug

type

the type of drug name

OB

the oral bioavailability of the compound

DL

the drug-like properties of compounds

Value

molecule and cid

Examples

1
2
3
.h2m(x='Ziziphi Spinosae Semen',type='latin')
.h2m(x='houpu',type='pinyin',OB=40,DL=0.2)
h2m(x=c('Ziziphi Spinosae Semen','Abri Herba'),type='latin')

pwj6/tcmR documentation built on Dec. 22, 2021, 10:53 a.m.