Learn R Programming

affypdnn (version 1.46.0)

transform.ProbeSet: A function to transform a ProbeSet

Description

A function to transform the PMs and MMs in a ProbeSet.

Usage

"transform"(`_data`, fun = I, ...)

Arguments

_data
object of ProbeSet-class.
fun
a function. The identity function by default.
...
optional arguments for fun.

Value

An object of class ProbeSet.

Details

The function fun is applied to the slots pm and mm. The function vsnh in the package vsn is a recommended argument for fun.

Examples

Run this code
library(affydata)

data(Dilution)

ppset.name <- sample(featureNames(Dilution), 1)
ppset <- probeset(Dilution, ppset.name)[[1]]
ppset.log <- transform(ppset, fun=log)

par(mfrow=c(1,2))
plot(ppset)
plot(ppset.log)

Run the code above in your browser using DataLab