summarizeProbes: Summarize probe sets

Description Usage Arguments Details Value

View source: R/PathwayMethods.R

Description

Summarize multiple probe sets targeting one gene into one value for that gene. On most microarays there will be more than one probe set for a gene. However, in the underlying network the gene will only be present one time. Therefore, in order to calculate a Gene(Page)Rank weight for this gene, all expression measurements have to be summarized.

Usage

1
2
  summarizeProbes(exprs, mapping, method = "median",
    groups = NULL, adjacency = NULL)

Arguments

exprs

n x p matrix with n probe sets and p samples.

mapping

a matrix or data.frame with 2 columns. The colnames of mapping have to contain at least 'graphID' and 'probesetID'. These two columns define the mapping between the probe sets on the microarray and the nodes of the graph.

method

defines how several probe sets should be combined. One of median, mean, foldChange or none.

groups

defines the grouping of samples. Only needed if method is foldChange.

adjacency

a matrix that represents the graph of the underlying biological network.

Details

summarizes all probes of a gene to one value for that gene if the summarization method is 'none' then the only thing which is done is that all probesets for which no pathway is available are discarded.

Value

matrix with 1st comlumn probeIDs 2nd column gene IDs


pathClass documentation built on May 29, 2017, 11:44 p.m.