getId: Get Desired IDs

Description Usage Arguments Value Author(s) Examples

Description

Get gene, enhancer or promoter IDs

Usage

1
getId(id ,type, replacement = "")

Arguments

id

Vector of IDs to extract.

type

Type of IDs to extract, must be one of the following values:

  • promoter Promoter ends with _1 or _2, ..., indicating the isotypes of promoter.

  • enhancer Enhancer starts with "GH" (Genehancer IDs) or simply likes "chr7_74540885_74541801".

  • gene Promoter IDs striped of suffix.

  • all Both gene IDs and enhancer IDs.

Value

Vector of desired IDs

Author(s)

Qi Wang

Examples

1
2
data(sample)
promId <- getId(res$gr$id, type="promoter")

qwang-big/irene documentation built on May 23, 2019, 1:47 p.m.