subsetCells: Subset a data object to return just the specified cells

subsetCellsR Documentation

Subset a data object to return just the specified cells

Description

Internal fx. Way shittier than the modern object class' subset fx. Req'd because old Seurat is a POS.

Usage

subsetCells(x, cells)

Arguments

x

The single-cell data object.

cells

A character vector of cell names to extract. This is intentionally less versatile than most subsetting, since older versions of Seurat required cell names explicitly.

Details

This is a wrapper function to the relevant class's subsetting method. Currently supported input object classes:

  • Class seurat/Seurat.

  • Class SingleCellExperiment.

Please submit requests for other data objects here!


BaderLab/scClustViz documentation built on Sept. 10, 2023, 11:51 p.m.