addFeatureCounts.Rd
This function will add total counts of scATAC cells in provided features into ArchRProject.
addFeatureCounts(
ArchRProj = NULL,
features = NULL,
name = NULL,
addRatio = TRUE,
threads = getArchRThreads(),
logFile = createLogFile("addFeatureCounts")
)
An ArchRProject
object.
A GRanges
object of features to count scATAC-seq data in.
A character defining the name of the features. "name
Counts" and "name
Ratio" will be added to the ArchRProject
.
A boolean indicating whether to add the "name
Ratio" to the ArchRProject
.
The number of threads to use for parallel execution.
The path to a file to be used for logging ArchR output.
# Get Test ArchR Project
proj <- getTestProject()
# Add Feature Counts
proj <- addFeatureCounts(proj, features = getPeakSet(proj), name = 'ReadsInPeaks')