coord_to_promoter_names: Change rownames of matrix from coordinates to promoter names

Description Usage Arguments Value

View source: R/utils.R

Description

Change rownames of matrix from coordinates to promoter names

Usage

1
coord_to_promoter_names(mat, promoter_intervs)

Arguments

mat

matrix with coordinate rownames (chrom_start_end).

promoter_intervs

intervals set with additional "name" column. In case of duplicate names or coordinates the first one in the matrix will be used.

Value

mat with rownames changed to promoter name taken from promtoer_intervs


tanaylab/methylayer documentation built on Dec. 23, 2021, 7:45 a.m.