getDefaultMapBiasExpMean: Map Bias

Description Usage Arguments Details Value Author(s) Examples

Description

an allele frequency array

Usage

1
2
3
4
5
6
7
8
9
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

1
2
3
4
5
6
#load example data
data(ASEset)
#access SnpAfList
alleleCountList <- alleleCounts(ASEset)
#get default map bias exp mean
matExpMean <- getDefaultMapBiasExpMean(alleleCountList)

AllelicImbalance documentation built on Nov. 8, 2020, 6:52 p.m.