View source: R/applyScaleSet.R
applyScaleSet | R Documentation |
Applies a ScaleSet to a dataframe of events
applyScaleSet(scaleset, data, clampQ = FALSE)
scaleset |
ScaleSet. Accepts a ScaleSet or |
data |
Events data from an FcsFile, i.e. |
clampQ |
If true, values will be clamped to fall within the scale's minimum and maximum. Applies clamping to all scales in a ScaleSet |
## Not run:
getEvents(experimentId, fcsFileId, destination = "myFile.fcs")
events <- flowCore::read.FCS("myFile.fcs")
data <- events@exprs
scaleSet <- getScaleSets(experimentId)[1, ]
applyScaleSet(scaleSet, data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.