merge_counts: Merge two read count datasets

View source: R/merge_counts.R

merge_countsR Documentation

Merge two read count datasets

Description

This function takes two read count datasets as output by function link{count_reads} and merges them, adding new rows and computing the sum of read counts in shared bins as needed. The output is sorted according to the genomic position of the bins, as the inputs were.

Usage

merge_counts(x, y)

Arguments

x, y

the two read count data.frame's to merge.

Value

a data.frame of read counts similar to those given as input, but that combines the data of the inputs.

Examples

NULL

malemay/delgbs documentation built on Feb. 1, 2024, 8:38 a.m.