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

Description Usage Arguments Examples

View source: R/id.converter2.R

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

1
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

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

hangnoh/flybaseR documentation built on Jan. 7, 2020, 4:20 a.m.