h2t: How to make herb to targets

Description Usage Arguments Value Examples

View source: R/h2t.R

Description

How to make herb to targets

Usage

1
2
3
4
5
6
7
8
h2t(
  x,
  type = "latin",
  tSource = "tcmsp",
  output = "symbol",
  OB = 30,
  DL = 0.18
)

Arguments

x

the name of drug

type

the type of the x

tSource

the source of targets

output

the type of return

OB

the oral bioavailability of the compound

DL

the drug-like properties of compounds

Value

symbol and fullname

Examples

1
2
3
4
5
.h2t(x='Ziziphi Spinosae Semen',type='latin',tSource="tcmsp",output='symbol')
.h2t(x='Ziziphi Spinosae Semen',type='latin',tSource="pubchem",output='symbol')
.h2t(x='huangqi',type='pinyin',tSource="tcmsp",output='both',OB=45,DL=0.18)
h2t(x=c('Ziziphi Spinosae Semen','Abri Herba'),type='latin',tSource="pubchem",output='symbol',OB=40,DL=0.3)
h2t(x=c('Ziziphi Spinosae Semen','Abri Herba'),type='latin',tSource="tcmsp",output='both')

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