addPeakMatrix.Rd
This function, for each sample, will independently compute counts for each peak per cell in the provided ArchRProject using the "PeakMatrix".
addPeakMatrix(
ArchRProj = NULL,
ceiling = 4,
binarize = FALSE,
verbose = TRUE,
threads = getArchRThreads(),
parallelParam = NULL,
force = TRUE,
logFile = createLogFile("addPeakMatrix")
)
An ArchRProject
object.
The maximum counts per feature allowed. This is used to prevent large biases in peak counts.
A boolean value indicating whether the peak matrix should be binarized prior to storage. This can be useful for downstream analyses when working with insertion counts.
A boolean value that determines whether standard output includes verbose sections.
The number of threads to be used for parallel computing.
A list of parameters to be passed for biocparallel/batchtools parallel computing.
A boolean value indicating whether to force the "PeakMatrix" to be overwritten if it already exist in the given ArchRProject
.
The path to a file to be used for logging ArchR output.
# Get Test ArchR Project
proj <- getTestProject()
# Add Peak Matrix
proj <- addPeakMatrix(proj)