This function will subset and ArchRProject by cells and save the output to a new directory and re-load the subsetted ArchRProject.
subsetArchRProject( ArchRProj = NULL, cells = getCellNames(ArchRProj), outputDirectory = "ArchRSubset", dropCells = TRUE, logFile = NULL, threads = getArchRThreads(), force = FALSE )
A vector of cells to subset
A directory path to save all ArchR output and the subsetted
A boolean indicating whether to drop cells that are not in
The path to a file to be used for logging ArchR output.
The number of threads to use for parallel execution.
If output directory exists overwrite.