chisq.test {AllelicImbalance} | R Documentation

## chi-square test

### Description

Performs a chisq.test on an ASEset object.

### Usage

    ## S4 method for signature 'ASEset'
    chisq.test(x, y = "*")

### Arguments

`x` | `ASEset` object
`y` | strand option

### Details

The test is performed on one strand in an ASEset object.

### Value

`chisq.test` returns a matrix with the chisq.test P-value for each SNP and sample

### Author(s)

Jesper R. Gadin, Lasse Folkersen

### See Also

- The `binom.test` which is another test that can be applied on an ASEset object.

### Examples

    #load example data
    data(ASEset)

    #make a chi-square test on default non-stranded strand
    chisq.test(ASEset)

[Package AllelicImbalance version 1.24.0 Index]