
Build an Herb-Compound-Target network
build_hct_network.RdGiven herb names or IDs, fetches herb-compound-target data from the API
and constructs a typed igraph network.
Arguments
- herbs
Character vector of herb names or UniTCM herb IDs.
- target_method
Target prediction method passed to
get_compound_targets():"drugclip"(default),"chembl", or"both".- max_compounds
Maximum compounds per herb to include (default 50).
- progress
Show progress messages (default
TRUE).