gr.tile.map: gr.tile.map

gr.tile.mapR Documentation

gr.tile.map

Description

Given two tilings of the genome (e.g. at different resolution) query and subject outputs a length(query) list whose items are integer vectors of indices in subject overlapping that overlap that query (strand non-specific)

Usage

gr.tile.map(query, subject, verbose = FALSE)

Arguments

query

Query GRanges pile, perhaps created from some tile (e.g. gr.tile), and assumed to have no gaps

subject

Subject GRanges pile, perhaps created from some tile (e.g. gr.tile), and assumed to have no gaps

verbose

Increase the verbosity of the output (default = FALSE)

Value

list of length = length(query), where each element i is a vector of indicies in subject that overlaps element i of query

Note

Assumes that input query and subject have no gaps (including at end) or overlaps, i.e. ignores end() coordinates and only uses "starts"

Author(s)

Marcin Imielinski


mskilab/gUtils documentation built on June 6, 2023, 12:08 a.m.