Fisher_Test_Pam: Given PAM and disease/control annotation, do Chi-square test...

Description Usage Arguments Value Examples

View source: R/differentialAnalysis.R

Description

Given PAM and disease/control annotation, do Chi-square test for each row of PAM

Usage

1
Fisher_Test_Pam(pam, label.vec.num, pvalue.cutoff = 0.05)

Arguments

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

Value

df.output object

Examples

1
2
3
tmp <- matrix(rbinom(12,1,0.5), nrow = 3)
rownames(tmp) <- c("a", "b", "c")
Fisher_Test_Pam(tmp, c(1,1,0,0))

mani2012/PathoStat documentation built on April 3, 2020, 7:41 p.m.