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 Nov. 11, 2024, 9:33 a.m.