Description Usage Arguments Value Author(s) Examples
View source: R/capacityPlot.homoVAR.fn.R
a function to plot density and simulated values of measured response to demonstrate FoldHit under homoscedasticity for two groups excluding NA values
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
FoldHit |
a vector of FoldHit values for controls, the first element must be 0, the second element must be 1 or -1, the remainings are for positive controls |
color |
colors mark negative reference, MDhit and positive controls |
pch |
point types mark negative reference, MDhit and positive controls |
xRange |
range for x-axis |
yRange |
range for y-axis |
normCut |
SSMD value for defining a maximally detectable hit |
nPointSim |
number of points to be simulated for generating a density |
length.out |
number of points for showing density |
round.point |
number of round points for showing capacity values |
lwd |
width of density lines |
mar |
margin for the plot |
lineScale |
value of line in showing scale |
lineXaxis: |
value of line in showing labels in x-axis |
no return value
Xiaohua Douglas Zhang 06/2020
1 2 3 4 | FoldHit = c(0, -1, -4.308057, -1.674495)
par(mfrow=c(1,2))
capacityPlot.homoVAR.fn( FoldHit, color=c("green","black","red", "purple"))
capacityPlot.homoVAR.fn( -FoldHit, color=c("green","black","red", "purple"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.