subsetArchRProject | R Documentation |
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
)
ArchRProj |
An |
cells |
A vector of cells to subset |
outputDirectory |
A directory path to save all ArchR output and the subsetted |
dropCells |
A boolean indicating whether to drop cells that are not in |
logFile |
The path to a file to be used for logging ArchR output. |
threads |
The number of threads to use for parallel execution. |
force |
If output directory exists overwrite. |
# Get Small Test Project
proj <- getTestProject()
#Subset
proj <- subsetArchRProject(proj, cells = getCellNames(proj)[1:50])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.