Fisher_Test_Pam {PathoStat} | R Documentation |
Given PAM and disease/control annotation, do Chi-square test for each row of PAM
Fisher_Test_Pam(pam, label.vec.num, pvalue.cutoff = 0.05)
pam |
Input data object that contains the data to be tested. Required |
label.vec.num |
The target binary condition. Required |
pvalue.cutoff |
choose p-value cut-off |
df.output object
tmp <- matrix(rbinom(12,1,0.5), nrow = 3) rownames(tmp) <- c("a", "b", "c") Fisher_Test_Pam(tmp, c(1,1,0,0))