subsetArchRProject.Rd
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
)
An ArchRProject
object.
A vector of cells to subset ArchRProject
by. Alternatively can provide a subset ArchRProject
.
A directory path to save all ArchR output and the subsetted ArchRProject
to.
A boolean indicating whether to drop cells that are not in ArchRProject
from corresponding Arrow Files.
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.