selectCells: Select cells

selectCellsR Documentation

Select cells

Description

Select cells

Usage

selectCells(object, ...)

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

Arguments

object

Object.

...

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

Details

Only exact matching is currently supported.

Value

Modified object, subset to only contain matching cell lines.

Supported keys

  • "category"

  • "isCancer"

  • "isContaminated"

  • "isProblematic"

  • "ncbiTaxonomyId"

  • "ncitDiseaseId"

  • "ncitDiseaseName"

  • "oncotreeCode"

  • "oncotreeMainType"

  • "oncotreeName"

  • "oncotreeTissue"

  • "organism"

  • "sexOfCell"

Note

Updated 2023-09-12.

See Also

  • Cellosaurus package.

  • DepMapAnalysis package.

Examples

data(cello)

## Cellosaurus ====
object <- cello
print(dim(object))
subset <- selectCells(
    object = object,
    category = "Cancer cell line",
    organism = "Homo sapiens",
    sexOfCell = "Female"
)
print(dim(subset))

acidgenomics/Cellosaurus documentation built on March 15, 2024, 1:28 a.m.