GetCell: Extract the nodes containing information of inputted cell...

View source: R/api_cellosaurus.R

GetCellR Documentation

Extract the nodes containing information of inputted cell lines

Description

This function searches the value of <name> tags in Cellosaurus XML document to find entries that matches the names provided in the names parameter.

Usage

GetCell(node, ids, type = "name")

Arguments

node

An XMLNodelist. It is the output of ParseCell function which contains all cell lines' information in Cellosaurus dataset.

ids

A vector of characters. It is the name or Cellosaurus accession of cell lines that will be searched in Cellosaurus XML file.

type

A charatcer. It indicate the type of id. It could be "name", "accession".

Value

An XMLNodeSet containing matched cell lines in the dataset. If no cell line is matched, a NULL list will be return.

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.