detectionPfixedNorm {sesame} | R Documentation

## Detection P-value based on normal fitting with gived parameters

### Description

The function takes a `SigSet` as input, computes detection p-value using negative control probes parametrized in a normal distribution and returns a new `SigSet` with an updated pval slot.

### Usage

    detectionPfixedNorm(
      sset,
      muG = 500,
      sdG = 200,
      muR = 500,
      sdR = 200,
      force = FALSE
    )

### Arguments

`sset` | a `SigSet`
`muG` | mean of background in Grn channel
`sdG` | SD of background in Grn channel
`muR` | mean of background in Red channel
`sdR` | SD of background in Red channel
`force` | force rerun even if result already exists

### Details

Background of Grn and Red are estimated separately from a fixed normal distribution. p-value is taken from the minimum of the p-value of the two alleles (color depends on probe design).

### Value

detection p-value

### Examples

    sset <- makeExampleSeSAMeDataSet()
    sset <- detectionPfixedNorm(sset)

[Package sesame version 1.6.0 Index]