GetDisease: Extract the disease information of one cell line.

View source: R/api_cellosaurus.R

GetDiseaseR Documentation

Extract the disease information of one cell line.

Description

GetDisease extracts the cell line associated diseases and NCI Thesaurus entry code from one cell-line-list node in Cellosaurus xml file.

Usage

GetDisease(node)

Arguments

node

An XMLInternalElementNode with only one cell line's information which was extracted from Cellosaurus xml file.

Details

This function extract the cell line associated disease and disease ID (NCI Thesaurus entry code) which the cell line associated with from an XMLIntervalElementNode object extracted from Cellosaurus xml file. Combining this function with apply or sapply can extract disease information from an XMLNodeSet object.

Value

A data frame contains two variables:

disease

name of the cell line associated disease.

disease_id

NCI Thesaurus entry code of the associated disease.

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.