coord_to_promoter_names.RdChange rownames of matrix from coordinates to promoter names
coord_to_promoter_names(mat, promoter_intervs)
| 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. |
mat with rownames changed to promoter name taken from promtoer_intervs