View source: R/process_dnase_atac_data.R
normalize_counts | R Documentation |
Normalizes DNase or ATAC-seq read counts by library sizes. It first obtains the total mapped reads from the current sample, and then scales the read counts for the current data to a reference library size.
normalize_counts(counts, idxstats_file, ref_size = 1e+08)
counts |
DNase or ATAC-seq read counts matrix |
idxstats_file |
The |
ref_size |
Normalize to reference library size. (Default: 1e8 for DNase-seq and 5e7 for ATAC-seq). |
A matrix of normalize read counts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.