This function returns an ArchRProject object that contains a specified subset of cells.

subsetCells(ArchRProj = NULL, cellNames = NULL)

Arguments

ArchRProj

An ArchRProject object.

cellNames

A character vector of cellNames that will be subsetted of the current ArchRProject.

Examples


# Get Test ArchR Project
proj <- getTestProject()

# Get Peak Annotations
proj <- subsetCells(proj, getCellNames(proj)[1:50])