dyeBiasCorr: Correct dye bias in by linear scaling.

View source: R/dye_bias.R

dyeBiasCorrR Documentation

Correct dye bias in by linear scaling.

Description

The function takes a SigDF as input and scale both the Grn and Red signal to a reference (ref) level. If the reference level is not given, it is set to the mean intensity of all the in-band signals. The function returns a SigDF with dye bias corrected.

Usage

dyeBiasCorr(sdf, ref = NULL)

Arguments

sdf

a SigDF

ref

reference signal level

Value

a normalized SigDF

Examples

sesameDataCache() # if not done yet
sdf <- sesameDataGet('EPIC.1.SigDF')
sdf.db <- dyeBiasCorr(sdf)

zwdzwd/sesame documentation built on Dec. 21, 2024, 1:20 p.m.