transform.ProbeSet: A function to transform a ProbeSet

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/transform.ProbeSet.R

Description

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

Usage

1
2
## S3 method for class 'ProbeSet'
transform(`_data`, fun = I, ...)

Arguments

_data

object of ProbeSet-class.

fun

a function. The identity function by default.

...

optional arguments for fun.

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.

Value

An object of class ProbeSet.

Note

This function should make to the package affy for the version 1.4.x.

Author(s)

Laurent

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)

affypdnn documentation built on Nov. 17, 2017, 1 p.m.