getPeakGeneDistances: getPeakGeneDistances

Description Usage Arguments Value

Description

Given a query set of genome intervals, identify the genes whose transcription start site is within a specified distance

Usage

1
getPeakGeneDistances(query, target)

Arguments

query

GRanges object of intervals to query

target

GRanges object of gene locations with TSS window pre-computed

Value

matrix where rows correspond to queries, and columns correspond to genes. If query i overlaps gene j, then M[i,j] = 1. All other entries are zero, so a sparse matrix is used to reduce memory usage.


GabrielHoffman/pinnacle documentation built on May 3, 2019, 3:02 p.m.