Learn R Programming

annotate (version 1.44.0)

probesByLL: A function that does reverse the mappings between probe ids and the corresponding values

Description

This function takes the name of a platform specific annotation data package (e. g. "hgu95av2") and a character string for the name of an environment stored in the data directory and returns a list of vectors of character string with values of the environment as the names of the lists of vectors and probe ids corresponding to the values of the environment as values.

Usage

probesByLL(baseName, what = "ENTREZID")

Arguments

baseName
baseName a character string for the name of platform specific annotation data package
what
what a character string for the name of the environment object, which is the last part of an environment name excluding the package name

Value

This function returns a list of vectors of character strings with unique values of an environment as the names and probe ids corresponding to the values as values.

Details

Each platform specific annotation data package has mappings between probe ids to other values. This function does reverse mappings by grouping probe ids under unique values of a given environmentand returns the mappings as a list. Values for the environment object for which the reverse mappings are sought must be vectors.

Examples

Run this code
  library("hgu95av2.db")
  tt <- probesByLL("hgu95av2", "ENTREZID")
  tt[1:4]

Run the code above in your browser using DataLab