annotation_from_merged_peaks {ChromSCape} | R Documentation

## Find nearest peaks of each gene and return refined annotation

### Description

Find nearest peaks of each gene and return refined annotation

### Usage

    annotation_from_merged_peaks(scExp, odir, merged_peaks, geneTSS_annotation)

### Arguments

`scExp` | A SingleCellExperiment object
`odir` | An output directory where to write the mergedpeaks BED file
`merged_peaks` | A list of GRanges object containing the merged peaks
`geneTSS_annotation` | A GRanges object with reference genes

### Value

A data.frame with refined annotation

[Package ChromSCape version 1.2.62 Index]