agreg5: Function used to merge overlapping start regions

View source: R/agreg5.R

agreg5R Documentation

Function used to merge overlapping start regions

Description

Use detected start regions and mapped read positions to merge overlapping start regions

Usage

agreg5(tot2,ff)

Arguments

tot2

Start regions data.frame with the following column names : 5end (has to be the first column), PU, str and sumfreq.

5end : central position of the start region.

PU : positional uncertainty of the region.

str : strand of the region

sumfreq : number of starting reads in the region

ff

Mapped read coordinates data.frame with the following column names : 5end (has to be the first column), str, sum_freq.

5end : 5' positions of mapped reads

str : strain

sum_freq : number of mapped reads with the corresponding 5' position and strand

Value

A data.frame containing the merged start regions with the same columns than the tot2 data.frame

Author(s)

Simon Leonard


Simon-Leonard/APERO documentation built on June 17, 2022, 10:31 a.m.