R/process_dnase_atac_data.R
merge_normalize_counts.Rd
Merges DNase or ATAC-seq read counts from multiple replicate samples, and normalizes the read counts by scaling to the reference library size.
merge_normalize_counts(counts_files, idxstats_files, ref_size = 1e+08)
DNase or ATAC-seq read counts matrix files.
The idxstats
files generated by samtools
.
Scales to reference library size. (Default: 1e8 for DNase-seq and 5e7 for ATAC-seq).
A matrix of merged and normalized counts.