hd2t: How to make herb and disease to target

Description Usage Arguments Value Examples

View source: R/hd2t.R

Description

How to make herb and disease to target

Usage

1
2
3
4
5
6
7
8
9
hd2t(
  hb,
  Disease,
  htype = "latin",
  dtype = "diseaseID",
  tSource = "tcmsp",
  OB = 30,
  DL = 0.18
)

Arguments

hb

the name of the drug

Disease

the name of the disease

htype

the type of the hb

dtype

the type of the disease

tSource

the source of drug targets

OB

the oral bioavailability of the compound

DL

the drug-like properties of compounds

Value

targets and other information

Examples

1
2
3
4
5
.hd2t(hb='mahuang',Disease='C0009375',htype='pinyin',dtype='diseaseID',tSource='tcmsp',OB=35,DL=0.20)
.hd2t(hb='mahuang',Disease='C0009375',htype='pinyin',dtype='diseaseID',tSource='pubchem')
.hd2t(hb='Abutili Semen',Disease='Colonic Neoplasms',htype='latin',dtype='disease')
hd2t(hb=c('mahuang','huangqi'),Disease='C0019209',htype='pinyin',dtype='diseaseID',tSource='pubchem',OB=40,DL=0.25)
hd2t(hb=c('mahuang','huangqi'),Disease='C0019209',htype='pinyin',dtype='diseaseID',tSource='tcmsp')

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