Learn R Programming

AllelicImbalance (version 1.10.2)

getDefaultMapBiasExpMean: Map Bias

Description

an allele frequency array

Usage

getDefaultMapBiasExpMean(alleleCountList, ...)
getDefaultMapBiasExpMean3D(alleleCountList, ...)
"getDefaultMapBiasExpMean"(alleleCountList)
"getDefaultMapBiasExpMean3D"(alleleCountList)

Arguments

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

Value

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

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.

Examples

Run this code

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


Run the code above in your browser using DataLab