Description Usage Arguments Details Value Author(s) See Also Examples
The method will step through the gating hierarchy in a breadth first search manner and normalize each dimension and gate not explicitly excluded in skipdims,or skipgates. The normalization approach is based on warpSet, but uses sequential normalization to alternately normalize then perform gating of the cell populations. This often helps with feature registration of popualtions lower in the gating hierarchy. FSC and SSC, as well as time are generally excluded by default. The rule of thumb, is to only normalize a channel in a gate if it is absolutely warranted.
1 |
data |
The |
x |
|
... |
Arguments passed to downstream functions. target:
The target sample to normalize the other samples in the gating set to. A populations:
A dims:
A chunksize:
For a memory-efficient implementation of normalization, set the nPeaks:
A bwFac:
The bandwidth for density estimation, a |
This function implements sequential normalization using a GatingSet and a set of manual gates. For each gate in the gating hierarchy, the algorithm checks if the gate should be normalized, and which dimensions in the gate should be normalized. If normalization is warranted, this is performed prior to gating. After gating, the counts for the gate in the GatingSet are updated, and the next gate is processed. This is useful in the application of template gates to data that has staining variability in one or more channels.
Returns a GatingSet
of normalized data.
Greg Finak <gfinak@fhcrc.org>
See also GatingSet-class
, GatingHierarchy-class
, ncdfFlowSet
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## Not run:
#gs is a GatingSet
gs_norm <- normalize(gs
, target = "M+T panel_903997-25.fcs"
, populations = "cd27gate"
, dims = "<Violet A 610/20-A>"
, minCountThreshold = 100
, nPeaks = list('cd27gate' = 2)
, chunksize = 10
, bwFac = 2
)
#show the population statistics for before and after normalization
getPopStats(gs)
getPopStats(gs_norm)
#plot the gate to see the effects of normalization
grid.arrange(
plotGate(gs, "cd27gate", type = "densityplot", stack = T)
,plotGate(gs_norm, "cd27gate", type = "densityplot", stack = T)
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.