| cellCounts {cytofast} | R Documentation |
A function to add the frequency (or abundance) of cell clusters per sample to a
cfList.
cellCounts(cfList, frequency = FALSE, scale = FALSE)
cfList |
a cfList object. It should contain at least data in the 'expr' slot. |
frequency |
one of
|
scale |
a logical value. Do the cell frequencies need to be centered and scaled? The
default |
Returns a cfList with a 'counts' slot.
# Read Data
dirFCS <- system.file("extdata", package="cytofast")
cfData <- readCytosploreFCS(dir = dirFCS, colNames = "description")
# Add cell counts to cfList
cfData <- cellCounts(cfData)