cell_counts | R Documentation |
Given a estimatecc object, this function returns the cell composition estimates
Accessors for the 'cell_counts' slot of a estimatecc object.
cell_counts(object) ## S4 method for signature 'estimatecc' cell_counts(object)
object |
an object of class |
Returns the cell composition estimates
# This is a reduced version of the FlowSorted.Blood.450k # dataset available by using BiocManager::install("FlowSorted.Blood.450k), # but for purposes of the example, we use the smaller version # and we set \code{demo=TRUE}. For any case outside of this example for # the package, you should set \code{demo=FALSE} (the default). dir <- system.file("data", package="methylCC") files <- file.path(dir, "FlowSorted.Blood.450k.sub.RData") if(file.exists(files)){ load(file = files) set.seed(12345) est <- estimatecc(object = FlowSorted.Blood.450k.sub, demo = TRUE) cell_counts(est) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.