GetCellName: Extract primary name and synonyms of one cell line.

View source: R/api_cellosaurus.R

GetCellNameR Documentation

Extract primary name and synonyms of one cell line.

Description

GetCellName extract primary name and synonyms from only one cell-line-list node in Cellosaurus xml file.

Usage

GetCellName(node)

Arguments

node

An XMLInternalElementNode with only one cell-line-list node extracted from Cellosaurus xml file.

Details

This function extracts the primary name (as "name") and synonyms (as "synonyms") of an XMLIntervalElementNode object containing one cell-line-list node extracted from Cellosaurus xml file.

If you'd like to extract information from multiple cell-line-list nodes, combining this function with xpathSapply or sapply is recommanded.

Value

A data frame contains two variables:

  • name the primary name of cell line.

  • synonyms synonyms of the cell line separated by semicolons.

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.