Learn R Programming

Biopeak (version 1.0)

maProcessing: Pre-processing of microarray datasets

Description

This helper function pre-processes microarray datasets by performing an exponentiation with number 2 as the base on the expression values.

Usage

maProcessing(expr, exprmat)

Arguments

expr

A numeric vector with gene expression values

exprmat

A numeric matrix with expression series data with variables as rownames.

Value

Returns a numeric vector with the exponentiated expression values.

Examples

Run this code
# NOT RUN {
# Example based on the heat-shock dataset
data(heat)
heat = as.matrix(heat)
# Run the findPeaks function for the first gene in the expression matrix
peaks <- maProcessing(heat[1,], heat)

# }

Run the code above in your browser using DataLab