Description Usage Arguments Author(s) See Also Examples
This function is useful in visualizing the differences between the binned control and sample datasets. The bins generated from the control dataset are overlaid with the sample dataset. An optional argument residuals can be used to shade each bin based on a calculated statistical measure of difference between the number of events in each bin.
1 |
binRes |
The result generated by calling the |
data |
An object of class
|
channels |
The flow parameters to be plotted.In cases where more
than two parameters are binned from the control set, the
|
title |
Optional title for the plot generated |
residuals |
A vector of length equal to the number of bins
generated that can be used to shade each bin. The residuals from the
|
shadeFactor |
Optional argument between 0 and 1 that controls the intensity of the shading of bins |
Nishant Gopalakrishnan
proBin
, calcPearsonChi
,
calcPBChiSquare
1 2 3 4 5 6 7 8 9 10 11 | library(flowCore)
data(GvHD)
# flow frame 1 is treated as control dataset and used to generate bins
resCtrl<-proBin(GvHD[[1]],200,channels=c("FSC-H","SSC-H"))
plotBins(resCtrl,GvHD[[1]],channels=c("FSC-H","SSC-H"),title="Binned control data")
# Same bins are applied to flowFrame 16
resSample<-binByRef(resCtrl,GvHD[[16]])
stat<-calcPearsonChi(resCtrl,resSample)
dev.new()
plotBins(resCtrl,data=GvHD[[16]],channels=c("FSC-H","SSC-H","Time"),title="Comparision 1 & 16",
residuals=stat$residuals[2,],shadeFactor=0.7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.