View source: R/MatrixFeatures.R
addFeatureMatrix | R Documentation |
This function for each sample will independently compute counts for each feature per cell in the provided ArchRProject or set of ArrowFiles.
addFeatureMatrix(
input = NULL,
features = NULL,
matrixName = "FeatureMatrix",
ceiling = 10^9,
binarize = FALSE,
verbose = TRUE,
threads = getArchRThreads(),
parallelParam = NULL,
force = TRUE,
logFile = createLogFile("addFeatureMatrix")
)
input |
An |
features |
A |
matrixName |
The name to be used for storage of the feature matrix in the provided |
ceiling |
The maximum counts per feature allowed. This is used to prevent large biases in feature counts. |
binarize |
A boolean value indicating whether the feature matrix should be binarized prior to storage. This can be useful for downstream analyses when working with insertion counts. |
verbose |
A boolean value that determines whether standard output includes verbose sections. |
threads |
The number of threads to be used for parallel computing. |
parallelParam |
A list of parameters to be passed for biocparallel/batchtools parallel computing. |
force |
A boolean value indicating whether to force the matrix indicated by |
logFile |
The path to a file to be used for logging ArchR output. |
# Get Test ArchR Project
proj <- getTestProject()
# Add Custom Matrix Which Is Just Peak Set
proj <- addFeatureMatrix(proj, features = getPeakSet(proj))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.