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


mojaveazure/seurat-object documentation built on Dec. 13, 2024, 9:23 a.m.