Skip to contents

Select cells

Usage

selectCells(object, ...)

# S4 method for Cellosaurus
selectCells(object, ...)

Arguments

object

Object.

...

Named key value pairs that map to cell line metadata defined in colData.

Value

Modified object, subset to only contain matching cell lines.

Details

Only exact matching is currently supported.

Note

Updated 2023-09-12.

Supported keys

  • "category"

  • "isCancer"

  • "isContaminated"

  • "isProblematic"

  • "ncbiTaxonomyId"

  • "ncitDiseaseId"

  • "ncitDiseaseName"

  • "oncotreeCode"

  • "oncotreeMainType"

  • "oncotreeName"

  • "oncotreeTissue"

  • "organism"

  • "sexOfCell"

See also

  • Cellosaurus package.

  • DepMapAnalysis package.

Examples

data(cello)

## Cellosaurus ====
object <- cello
print(dim(object))
#> [1] 10 36
subset <- selectCells(
    object = object,
    category = "Cancer cell line",
    organism = "Homo sapiens",
    sexOfCell = "Female"
)
print(dim(subset))
#> [1]  3 36