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)

girke-lab/signatureSearch documentation built on Feb. 21, 2024, 8:32 a.m.