CheckDisease: Check whether input diseases are archived in DrugComb

View source: R/check_drugcomb.R

CheckDiseaseR Documentation

Check whether input diseases are archived in DrugComb

Description

Function CheckDisease compares disease IDs passed to test argument with diseases archived in DrugComb (extracted to drugcomb R data). It will return the total number of diseases have been archived in DrugComb as well as which diseases are already or not yet archived in DrugComb.

Usage

CheckDisease(disease_df)

Arguments

disease_df

A data frame . It contains tow columns:

  • id: the NCIt ID of the disease.

  • name: the name of the disease.

Value

A list contains 3 elements:

  • n: It indicates that there are totally n diseases archived in DrugComb database.

  • old: It lists the names and IDs of diseases that have been archived in DrugComb.

  • new: It lists the names and IDs of diseases that are not yet in DrugComb.

Author(s)

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


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