subtractBackground: Background substraction

Description Usage Arguments Value Examples

View source: R/normalization.R

Description

Substracts a specified background value from the intensity values.

Usage

1

Arguments

header

the header of a dataset file generated with generateDatasetFile

dataset

an R data frame generated with generateDatasetFile

listOfArgs

a list containing:

- a character string specifying the column whose values will be used for background substraction

- a character string specifying the column whose values will be used as background

Value

A list containing:

header

The new header (with an added entry about the normalization procedure in the comments)

dataset

The new dataset with normalized values. The old values are saved in an extra column of the dataset with the suffix ".old"

Examples

1
2
3
4
5
6
data(exampleHeader, package="RNAither")
data(exampleDataset, package="RNAither")

normres <- subtractBackground(header, dataset, list("SigIntensity", "Background"))
newheader <- normres[[1]]
newdataset <- normres[[2]]

RNAither documentation built on Nov. 8, 2020, 8:06 p.m.