This function will organize arrows and project output into a directory and save the ArchRProject for later usage.

saveArchRProject(
  ArchRProj = NULL,
  outputDirectory = getOutputDirectory(ArchRProj),
  overwrite = TRUE,
  load = TRUE,
  dropCells = FALSE,
  logFile = createLogFile("saveArchRProject"),
  threads = getArchRThreads()
)

Arguments

ArchRProj

An ArchRProject object.

outputDirectory

A directory path to save all ArchR output and ArchRProject to. Default is outputDirectory of the ArchRProject.

overwrite

When writing to outputDirectory, overwrite existing files with new files.

dropCells

A boolean indicating whether to drop cells that are not in ArchRProject from corresponding Arrow Files.

logFile

The path to a file to be used for logging ArchR output.

threads

The number of threads to use for parallel execution.