GetPubPhase: Get max clinical trial phase from Pubchem

View source: R/api_pubchem.R

GetPubPhaseR Documentation

Get max clinical trial phase from Pubchem

Description

GetPubPhase function retrieves the max clinical trial phase of drugs from PubChem database via PUG REST, accordint to CIDs.

Usage

GetPubPhase(cids, quiet = TRUE)

Arguments

cids

A vector of integer or character indicates the CIDs of drugs.

quiet

A logical value. If it is TRUE, the error message will shut down during retrieving process.

Value

A data frame contains 4 columns:

  • CID CID of drugs which is inputted to cids argument.

  • phase Max clinical trial phase of matched drugs.

Author(s)

Jing Tang jing.tang@helsinki.fi Shuyu Zheng shuyu.zheng@helsinki.fi

Examples

clinical.phase <- GetPubPhase(c(1,2,3,4, 2244))

DrugComb/TidyComb documentation built on June 22, 2022, 2:49 a.m.