id.converter2: Updating FlyBase IDs to a certain version.

View source: R/id.converter2.R

id.converter2R Documentation

Updating FlyBase IDs to a certain version.

Description

The function takes FlyBase IDs (e.g. FBgn#######) as an input, and converts it into certain versions of IDs. This function is not able to handle gene symbols. The function accesses the FlyBase FTP site, so requires internet-connection. FlyBase IDs for genes that are split into multiple genes will be concatenated with two colons (::). Genes that does not have matching IDs will be shown as "unknown".

Usage

id.converter2(x, version, thread = 1)

Arguments

x

a vector. FlyBase IDs.

version

FlyBase ID version for the updated result. It should be either version numbers (e.g. 6.12) or FlyBase Release Numbers (e.g. FB2017_04). The default is "current".

thread

The function itself is slow, so in order to speed up you can use multiple CPU threads for parallelization. Default : thread = 1.

Examples

id.converter2(x, version=6.12)
id.converter2(x, version="FB2016_04", thread=4)

hangnoh/flybaseR documentation built on Feb. 25, 2023, 2:26 p.m.