add_pcid: Add PCID to drug data frame

View source: R/utilities.R

add_pcidR Documentation

Add PCID to drug data frame

Description

This function can be used to add the PCIDss (PubChem CID column added from signatureSearch package) column to a data frame that have a column store compound names. The compound name to PubChem CID annotation is obtained from lincs_pert_info in 2017.

Usage

add_pcid(df, drug_col = "pert")

Arguments

df

data frame or tibble object

drug_col

name of the column that store compound names in df

Value

tibble object with an added PCIDss column

Examples

data("lincs_pert_info")
# gess_tb2 <- add_pcid(gess_tb)

yduan004/signatureSearch documentation built on Feb. 19, 2024, 9:30 a.m.