Skip to contents

Merges several BAM files in one.

Usage

mergeBAMs(files, out_name, path_bam, path_out, cores = 6)

Arguments

files

Name for the bam files you want to merge.

out_name

Character string with the name for the merged BAM file.

path_bam

Character string indicating the path where the input bam files are.

path_out

Character string indicating the path where the final merged bam files should be stored.

cores

Integer specifying the number of cores to use.

Value

Bed files in path_pc with the location of the enriched regions.

Examples

if (FALSE) callPeak()