Description Usage Arguments Value Examples
Calculate which combinations of values of variables are significantly different in the two classes (only for binary data). This function takes an DDDataSet and a number of variables and finds those combinations of values of those variables that have significantly different frequencies in the two class labels.
1 | combinationsTest(obj, selected.vars, cutoff=0.05, p.adjust.method="none", verbose=TRUE)
|
obj |
DDDataSet object |
selected.vars |
indexes or names of variables selected for the test |
cutoff |
the p value cutoff for reporting (default: 0.05) |
p.adjust.method |
the multiple adjustment method (default: none) |
verbose |
if to print progress output and additional information |
data.frame
with ordered combinatorial patterns of selected variables
1 2 3 | data(mesoBin)
# find significant differences at 0.2 FDR
combinationsTest(mesoBin$Meso, c("Twi 2-4h", "Tin 6-8h", "Mef2 6-8h"), 0.2, "fdr")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.