chrom_state_match: Given a set of regions and a chromatin state map, match the...

Description Usage Arguments Value

View source: R/AnnotationHelper.R

Description

Given a set of regions and a chromatin state map, match the "best" chromatin state to each region.

Usage

1
chrom_state_match(regions, chrom.states.gr)

Arguments

regions

The regions to which chromatin states should be associated.

chrom.states.gr

A GRanges containing the chromatin state map.

Value

A vector of the same length as regions, indicating the "best" chromatin state mapping to that region.


ArnaudDroitLab/ef.utils documentation built on Aug. 13, 2019, 9:09 p.m.