MatchCells: Match Cells

View source: R/generics.R

MatchCellsR Documentation

Match Cells

Description

Match Cells

Usage

MatchCells(new, orig, ordered = FALSE)

## S3 method for class 'character'
MatchCells(new, orig, ordered = FALSE)

## S3 method for class ''NULL''
MatchCells(new, orig, ordered = FALSE)

## S3 method for class 'numeric'
MatchCells(new, orig, ordered = FALSE)

Arguments

new

A vector of new cells

orig

A vector of existing cells

ordered

Sort the result to the same order as orig

Value

A numeric vector with new cells in order of the original cells; if no match can be found, returns NULL


SeuratObject documentation built on May 29, 2024, 12:31 p.m.