addDeviationsMatrix.Rd
This function will compute peakAnnotation deviations for each ArrowFiles independently while controlling for global biases (low-memory requirement).
addDeviationsMatrix(
ArchRProj = NULL,
peakAnnotation = NULL,
matches = NULL,
bgdPeaks = getBgdPeaks(ArchRProj, method = "chromVAR"),
matrixName = NULL,
out = c("z", "deviations"),
binarize = FALSE,
threads = getArchRThreads(),
verbose = TRUE,
parallelParam = NULL,
force = FALSE,
logFile = createLogFile("addDeviationsMatrix")
)
An ArchRProject
object.
The name of the peakAnnotation
stored in the ArchRProject
.
A custom peakAnnotation
matches object used as input for the hypergeometric test. See
motifmatchr::matchmotifs()
for additional information.
A SummarizedExperiment
that contains for each peak a set of background peaks matched by biases such as total accessibility
and GC nucleotide content. This can be computed using addBgdPeaks
and accessed by getBgdPeaks
.
The name to be used for storage of the deviations matrix in the provided ArchRProject
.
A string or character vector that indicates whether to save the ouptut matrices as deviations ("deviations") z-scores ("z"), or both (c("deviations","z")).
A boolean value indicating whether the input matrix should be binarized before calculating deviations. This is often desired when working with insertion counts.
The number of threads to be used for parallel computing.
A boolean value that determines whether standard output includes verbose sections.
A list of parameters to be passed for biocparallel/batchtools parallel computing.
A boolean value indicating whether to force the matrix indicated by matrixName
to be overwritten if it
already exists in the ArrowFiles associated with the given ArchRProject
.
The path to a file to be used for logging ArchR output.