Chisq_Test_Pam {PathoStat} | R Documentation

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

### Description

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

### Usage

    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

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

[Package PathoStat version 1.12.0 Index]