getCoverage takes the output of MOCHA::getPopFrags and returns a GRanges of singe-basepair resolution coverage.
getCoverage(
popFrags,
normFactor,
TxDb,
cl,
filterEmpty = FALSE,
verbose = FALSE
)popCounts A GRangesList of coverage for each sample and cell population
GRangesList of fragments for all sample/cell populations
Normalization factor. Can be either be one, in which case all coverage files will be normalized by the same value, or the same length as the GRangesList
The TxDb-class transcript annotation package for your organism (e.g. "TxDb.Hsapiens.UCSC.hg38.refGene"). This must be installed. See Bioconductor AnnotationData Packages.
cl argument to pblapply
True/False flag on whether or not to carry forward regions without coverage.
Boolean variable to determine verbosity of output.