getDefaultMapBiasExpMean {AllelicImbalance} | R Documentation

## Map Bias

### Description

an allele frequency array

### Usage

    getDefaultMapBiasExpMean(alleleCountList, ...)

    getDefaultMapBiasExpMean3D(alleleCountList, ...)

    ## S4 method for signature 'list'
    getDefaultMapBiasExpMean(alleleCountList)

    ## S4 method for signature 'ANY'
    getDefaultMapBiasExpMean3D(alleleCountList)

### Arguments

`alleleCountList` | A `GRangesList object` containing read information
`...` | parameters to pass on

### Details

This function will assume there is no bias that comes from the mapping of reads, and therefore create a matrix with expected frequency of 0.5 for each allele.

### Value

`getDefaultMapBiasExpMean` returns a matrix with a default expected mean of 0.5 for every element.

### Author(s)

Jesper R. Gadin, Lasse Folkersen

### Examples

    #load example data
    data(ASEset)
    #access SnpAfList
    alleleCountList <- alleleCounts(ASEset)
    #get default map bias exp mean
    matExpMean <- getDefaultMapBiasExpMean(alleleCountList)

[Package AllelicImbalance version 1.20.0 Index]