WhichCells: Identify cells matching certain criteria

Description Usage Arguments Value

Description

Returns a list of cells that match a particular set of criteria such as identity class, high/low values for particular PCs, ect..

Usage

1
2
3
WhichCells(object, ident = NULL, cells.use = NULL, subset.name = NULL,
  accept.low = -Inf, accept.high = Inf, max.cells.per.ident = Inf,
  random.seed = 1)

Arguments

object

Seurat object

ident

Identity class to subset. Default is all identities.

cells.use

Subset of cell names

subset.name

Parameter to subset on. Eg, the name of a gene, PC1, a column name in object@data.info, etc. Any argument that can be retreived using FetchData

accept.low

Low cutoff for the parameter (default is -Inf)

accept.high

High cutoff for the parameter (default is Inf)

max.cells.per.ident

Can be used to downsample the data to a certain max per cell ident. Default is inf.

random.seed

Random seed for downsampling

Value

A vector of cell names


nukappa/seurat_v2 documentation built on May 24, 2019, 9:57 a.m.