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 <xwang210@usc.edu>
License: MIT + file LICENSE
Version: 0.99.2
Built: 2026-09-30 07:41:26 UTC
Source: https://github.com/bioc/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 selected from a KPMP-derived kidney single-cell analysis. The first few entries yield enhancer-, promoter-, and closest-based links in the executable examples.

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)