link.metadata(data = expr.data, col.ID.link = 1, chr = as.list(hgu133plus2CHR), chrloc = as.list(hgu133plus2CHRLOC), symbol = as.list(hgu133plus2SYMBOL))
data.frame
with expression data including an expression probe ID column.data
that contains the ID to link with the poslist
.list
specifying the metadata annotation of the chromosome location on the genome.list
specifying the metadata annotation of the location of the probe on the chromosome.list
specifying the metadata annotation of the symbol corresponding to the probe.data.frame
is returned, containing a dataset with annotation columns
which can be used forintegrated.analysis.
# first download and install the AnnotationData package for your expression array platform
# for example
## Not run: library(hgu133plus2)
## Not run: expr.data <- link.metadata(data, col.ID.link = 1, chr = as.list(hgu133plus2CHR),
# chrloc = as.list(hgu133plus2CHRLOC), symbol = as.list(hgu133plus2SYMBOL))## End(Not run)
Run the code above in your browser using DataLab