cytoFrame-class {prada} | R Documentation |
This class represents the data contained in a FCS 3.0 file or similar data structures.
## S4 method for signature 'cytoFrame': exprs(object) \S4method{exprs<-}{cytoFrame,matrix}(object,value) ## S4 method for signature 'cytoFrame': description(object) \S4method{description<-}{cytoFrame,character}(object,value) ## S4 method for signature 'cytoFrame': colnames(object) \S4method{colnames<-}{cytoFrame,ANY}(object,value) ## S4 method for signature 'cytoFrame': show(object) \S4method{[}{cytoFrame,ANY}(x, i, j, ..., drop=FALSE) $.cytoFrame(x, val)
object,x |
Objects of class cytoFrame . |
value |
Replacement value. |
i,j |
Indices. |
... |
Further arguments that get passed on. |
FCS 3.0 is the Data File Standard for Flow Cytometry, Version FCS3.0.
Objects can be created using
new('cytoFrame,
exprs = ...., # Object of class matrix
description = .... # Object of class character
)
or the function readFCS
.
exprs
:matrix
containing
the measured intensities. Rows correspond to cells, columns to the
different channels. The colnames
attribute of the matrix is
supposed to hold the names or identifiers for the channels. The
rownames
attribute would usually not be set.description
:cytoFrame
.
The subsetting is applied to the exprs
slot, while the
description
slot is unchanged.Wolfgang Huber
intens <- matrix(runif(100), ncol=4) colnames(intens) <- c("FL1-H", "FL2-H", "FL3-H", "FL4-H") a <- new("cytoFrame", exprs=intens, description=c(name="example data", date=date())) description(a) dim(exprs(a)) a[1:3, -4]