UpdateCell: Update local Cellosaurus XML file

View source: R/api_cellosaurus.R

UpdateCellR Documentation

Update local Cellosaurus XML file

Description

UpdateCell checks and compares the versions of online and local Cellosaurus XML file. If the local file is not up-to-date, it will automatically update the local file.

Usage

UpdateCell(file)

Arguments

file

The path to the local Cellosaurus file.

Details

For parsing Cellosaurus XML file, we do not recommend to directly parse the online Cellosaurus dataset. It requires a huge amount of memory and will lead to a crash of R. We recommend to download the dataset and then parse the local XML file. In this case, it is necessary to update your local file before processing it.

UpdateCell using the CellVersion function to check the current online version of Cellosaurus dataset and the version of a local file. It will automatically update the local file if it is not up-to-date.

Warning: The local file will be overwritted when updating data. If you'd like to keep the old version of dataset, please backup it before updating.

Value

A message about the version checking results. If the local file is not up-to-date, the local file will be updated with online Cellosaurus data.

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.