subsetCells: Subset cells in an ArchRProject.

View source: R/FilterCells.R

subsetCellsR Documentation

Subset cells in an ArchRProject.

Description

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

Usage

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])


GreenleafLab/ArchR documentation built on Feb. 21, 2025, 3:05 p.m.