fitBmeaSingle: Fit & summarise the BMEA model for a single gene(unit)

Description Usage Arguments Details Value

Description

This function fits the BMEA model & provides the summarised output for a single gene.

Usage

1
2
fitBmeaSingle(celSet, bgCelSet, unit, conditions, contMatrix, ...,
  keepSims = FALSE, zGene = 4.265, zExon = 1.645)

Arguments

celSet

an AffymetrixCelSet with the data to be fit

bgCelSet

a list with components $lambda & $delta. Each of these must be an AffymetrixCelSet containing the means & standard deviations for the background signal priors

unit

the unit (i.e. gene) to be fit

conditions

a vector of factors specifying which cell-type/condition each array in the celSet belongs to

contMatrix

a contrast matrix for the summarised output

...

used for passing variables such as mcmcParam to runMCMC.BMEA

keepSims

logical variable. If TRUE all sims from the process & contrasts will be kept

zGene

the zScore below which the gene is determined to be not detectable above background

zExon

the zScore below which the exon is determined to be not detectable above background

Details

This function runs all the necessary checks & fits the BMEA model for a single unit (i.e. gene). The bgCelSet must be written to disk beforehand, during the preparatory stages.

The value of zGene can be set to NULL if the filtering out of low-expressed genes is not desired. This value can be changed to any value to effectively restrict the range of expression values in the dataset to those with a high signal-to-noise ratio. The value of zExon can also be set to NULL to bypass the filtering of exons which are not confidently detectable above background.

Value

Returns a list with the following components:


steveped/BMEA documentation built on May 30, 2019, 5:38 p.m.