Package 'GPlinksR'

Title: Building Gene-Peak Network for ATAC-RNA Integration
Description: GPlinksR constructs gene-peak regulatory networks for ATAC-RNA integration by combining enhancer-based, promoter-based, and proximity (closest-gene) mappings. The package accepts direct peak and gene vectors as well as container-based inputs through a wrapper for common Bioconductor object classes. Enhancer-gene links are obtained from the PEREGRINE enhancer-gene datasets provided by AnnoQ, while promoter and gene coordinates are retrieved from EnsDb.Hsapiens.v86.
Authors: Xinran Wang [aut, cre] (ORCID: <https://orcid.org/0009-0000-1805-3280>), Kelly Street [ctb], Huaiyu Mi [ctb], Bryan Queme [ctb]
Maintainer: Xinran Wang <[email protected]>
License: MIT + file LICENSE
Version: 0.99.0
Built: 2026-06-23 02:45:35 UTC
Source: https://github.com/BiocStaging/GPlinksR

Help Index


Download Enhancer-Gene Link File from PANTHER Peregrine Database

Description

Download Enhancer-Gene Link File from PANTHER Peregrine Database

Usage

get_peregrine_file(version = 19)

Arguments

version

Integer (17, 18, or 19). Which PANTHER enhancer-gene link version to download.

Value

The full path to the downloaded .tsv file stored in the BiocFileCache.

Examples

if (interactive()) {
    f <- get_peregrine_file(19)
    f
    readLines(f, n = 3)
}

Example Gene and Peak Inputs for GPlinksR

Description

A small example dataset for demonstrating GPlinksR workflows. The object contains 300 peak coordinates and 100 gene symbols suitable for examples and vignettes. The first few entries are curated so that the vignette examples produce enhancer-, promoter-, and closest-based links from the packaged data.

Usage

data(gp_example_inputs)

Format

A list with two elements:

pk

A character vector of 300 peak coordinates in "chr:start-end" format.

gn

A character vector of 100 gene symbols.

Examples

data(gp_example_inputs)
length(gp_example_inputs$pk)
length(gp_example_inputs$gn)