mismatch: Calculates mismatch values for probes

Description Usage Arguments Details Value Examples

View source: R/mismatch.r

Description

This internally called function calculates the background correction for each probe based on the median intensity of all background probes with the same GC-content of as the target probe in question

Usage

1
mismatch(probes, bgp, intensity)

Arguments

probes

probe indicies for target probes. Each probe index contains the gc-content of the probe

bgp

contains probe location (indicies), GC-content, and annotations of the background probes of a given chip type. For WT-type arrays, the bgp consists of 16,943 antigenomic background probes. For 3' IVT arrays, the mismatch (MM) probes are used to calculate the bgp list in both methods

intensity

The intensities value of the bgp probes as read in from the .CEL file

Details

This internally called function calculates the probe background correction based on the median intensity of all background probes with the same gc-content of as the target probe in question

Value

mismatch returns a numeric vector containing the gc-content based background correction for every probe included in the analysis

Examples

1
2
3
4
5
if (length(list.files(path = ".", pattern = "*.CEL")) != 0){

#Example of input, as the function would be called internally:
mismatch(probes, bgp, intensity)
}

mfmiles/Sscore2 documentation built on Oct. 1, 2019, 6:04 a.m.