Learn R Programming

SIM (version 1.42.0)

RESOURCERER.annotation.to.ID: Link RESOURCERER annotation file to expression ID

Description

Get annotation out of the RESOURCERER annotation file and link them to expression data with help of expression ID's

Usage

RESOURCERER.annotation.to.ID(data, poslist, col.ID.link = 1, col.poslist.link = 1)

Arguments

data
data.frame with expression data including an expression ID column.
poslist
data.frame containing the RESOURCERER annotation file
col.ID.link
numeric value, specifying the column of data that contains the ID to link with the poslist.
col.poslist.link
numeric value, specifying the column of poslist that contains the ID to link with the data.

Value

data.frame is returned, containing a dataset with annotation columns which can be used for integrated.analysis

Details

This function will output the inserted dataset, including the necessary, for integrated.analysis, a nnotation columns: "CHROMOSOME", "STARTPOS"and "Symbol" out of the inserted RESOURCE RER annotation file poslist.

See Also

link.metadata

Examples

Run this code

# download expression array annotation from RESOURCERER ftp://occams.dfci.harvard.edu/pub/bio/tgi/data/Resourcerer
# it may be necessary to remove the first row, which states the genome build used for mapping
## Not run: read.an <- read.delim("affy_U133Plus2.txt", sep="\t", header=T) 

# get physical mapping columns
## Not run: expr.data <- RESOURCERER_annotation_to_ID(data = read.expr, poslist = read.an, col.ID.link = 1, col.poslist.link = 1)

Run the code above in your browser using DataLab