Description Usage Arguments Details Value Author(s) Examples
Remove low density regions of a flowFrame.
1 | removeLowDensSections (f, Time.loc, Segment=500, LowDensityRemoval=0.1, Verbose=FALSE)
|
f |
A single flowFrame to be processed. |
Time.loc |
An positive interger value for the location of the time channel. |
Segment |
An integer value that specifies the number of events in each segment to be analyzed. A single segment is defaulted to contain 500 events. |
LowDensityRemoval |
An numeric value between 0 and 1 that specifies the proportion cut-off of the low density region. All events with less density than LowDensityRemoval will be removed. The default is 0.1. |
Verbose |
A logical value that dictates if computational information is printed while the code is running. The default is FALSE. |
removeLowDensSections removes low density regions of a flowFlame. The flowFrame must have a time channel.
A list containing two elements. The first element, $frame, is the flowFrame file returned after removeLowDensSections has removed the low density sections. The second element, $rem.ind, is a vector containing indices of events being removed.
Maintainer: Justin Meskas justinmeskas@gmail.com, Sherrie Wang swang@bccrc.ca
1 2 3 4 5 6 | data(flowCutData)
res_lowDens <- removeLowDensSections(flowCutData[[1]], LowDensityRemoval=0.1, Time.loc=which(parameters(flowCutData[[1]])$name == "Time"))
library(flowDensity)
plotDens(flowCutData[[1]], c("Time","FL1-H"))
points(exprs(flowCutData[[1]])[res_lowDens$rem.ind, c("Time","FL1-H")],
pch=".", col="grey")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.