compensate | R Documentation |
The compensation is saved in the GatingSet and can be retrieved by gh_get_compensations.
## S4 method for signature 'GatingSet,ANY'
compensate(x, spillover)
x |
|
spillover |
|
a GatingSet
, GatingSetList
, cytoframe
, or cytoset
object with the underling flow data compensated.
## Not run:
cfile <- system.file("extdata","compdata","compmatrix", package="flowCore")
comp.mat <- read.table(cfile, header=TRUE, skip=2, check.names = FALSE)
## create a compensation object
comp <- compensation(comp.mat,compensationId="comp1")
#add it to GatingSet
gs <- compensate(gs, comp)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.