Learn R Programming

MAST (version 0.931)

cData: Accessor for cellData data.frame

Description

Accessor for cellData data.frame

Usage

cData(sc)

cData(sc) <- value

# S4 method for SingleCellAssay cData(sc)

# S4 method for SingleCellAssay cData(sc) <- value

Arguments

sc

An object with cellData

value

Replacement, one of AnnotatedDataFrame or data.frame

Value

data.frame

Methods (by class)

  • SingleCellAssay:

  • SingleCellAssay:

Details

cData(sc): Return the cellData data.frame.

cData(sc)<-value: Replace the cellData with value, which can be either an AnnotatedDataFrame or data.frame. The replacement is checked that it has mandatory fields defined by its class.