R: Match Cells

MatchCells {SeuratObject} | R 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`

[Package SeuratObject version 4.1.0 Index]