Skip to contents

The peaks are named in the following pattern "TAD_namedistance_from_TAD_start_in_kbp". For the TAD naming scheme see: https://github.com/tanaylab/tadbris.
When two peaks are within the same kbp of each other, they are appended a number to the name, according to their order on the genome (except for the first peak), i.e.: "TAD_name
distance_from_TAD_start_in_kbp.number". See also make.unique.

Usage

name_enhancers(atac, tad_names = gintervals.load("intervs.global.tad_names"))

Arguments

atac

a McPeaks or ScPeaks a PeakIntervals object or a misha intervals set

Value

the original atac object, with the field peak_name replaced by the new TAD-referenced name

Examples

if (FALSE) {
atac_mc <- name_enhancers(atac_mc)
my_peaks <- name_enhancers(my_peaks)
}