Learn R Programming

SAGx (version 1.46.0)

one.probeset.per.gene: Select the best probeset per gene

Description

This function takes a vector of probeset identifiers, a vector of gene identifiers and a vector of present rates, and outputs the probeset id per gene that corresponds to the highest present rate.

Usage

one.probeset.per.gene(probeset = probeset, present = present, symbol = symbol)

Arguments

probeset
a vector of probeset id's
present
a vector of present rates
symbol
a vector of gene symbols

Value

  • A vector of probeset id's.

Details

It is assumed that missing gene symbol is coded as "". Note also that other measurements than present rate may be useful as selection criterion, such some variation measure. The function only assumes that high values are desirable.