Description Usage Arguments Value Examples
BHRejVec
defines BHRejVec class and produce a BHRejVec object. A BHRejVec object
is a combination of BHRej objects of different FDR values. Also, a samVec object
is used to construct a BHRejVec object. See PIE.BHRejVec
for plotting instructions.
1 |
FDR |
A vector of numeric values between 0 and 1. |
SVobj |
A samVec object containing data and necessary information. |
ifF |
Test type. When ifF == TRUE, standard F tests are used and; otherwise, equivalence F tests. |
eps |
A numeric value specifying the equivalence test tolerance. Only valid when ifF == FALSE. |
A BHRejVec object is returned. A BHRejVec is a list contains
A list of BHRej objects with different FDR values
The labels indicating groups specified in the samVec object.
A string the same with the dataType in the samVec object
A string of "DE" or "EE" based on ifF or not.
A numeric vector containing the FDR values used.
1 2 3 4 5 6 7 8 9 | data(GCwPADataA)
t1 = samVec(GCwPADataA, selCol = list(1:5, 6:10, 11:15, 16:20, 21:25, 26:30), labels = LETTERS[1:6])
EE = BHRejVec(FDR = c(0.1, 0.05, 0.01, 0.005, 0.001), SVobj = t1)
DE = BHRejVec(FDR = c(0.1, 0.05, 0.01, 0.005, 0.001), SVobj = t1, ifF = TRUE)
pdf("test.pdf", width = 12, height = 8)
PIE(DE, EE, figcol = 3, mainPar = list(y = 1.5, main = "TITLE", cex = 2.5),
innerPIE = list(radius = 1, col = c("blue", "red", "green")),
innerPar = list(mar = c(1.1, 2.1, 6.1, 0)), legPar = list(x = "bottomright", cex = 1.5))
dev.off()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.