Chisq_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
Chisq_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")
Chisq_Test_Pam(tmp, c(1,1,0,0))

PathoStat documentation built on Nov. 8, 2020, 5:28 p.m.