#load data
data(icaSetCarbayo)
require(hgu133a.db)
# run annotation of the features into gene Symbols as specified in 'typeID(icaSetCarbayo)["geneID_annotation"]',
# using package hgu133a.db as defined in 'annotation(icaSetMainz)'
icaSetCarbayo <- annotInGene(icaSet=icaSetCarbayo, params=buildMineICAParams())
## Not run:
# #load data
# library(breastCancerMAINZ)
# data(mainz)
# #run ICA
# resJade <- runICA(X=exprs(mainz), nbComp=5, method = "JADE", maxit=10000)
#
# #build params
# params <- buildMineICAParams(resPath="mainz/")
#
# #build a new IcaSet object, omitting annotation of the features (runAnnot=FALSE)
# #but specifying the element "geneID_annotation" of argument 'typeID'
# icaSetMainz <- buildIcaSet(params=params, A=data.frame(resJade$A), S=data.frame(resJade$S),
# dat=exprs(mainz), pData=pData(mainz),
# annotation="hgu133a.db", typeID= c(geneID_annotation = "SYMBOL",
# geneID_biomart = "hgnc_symbol", featureID_biomart = "affy_hg_u133a"),
# chipManu = "affymetrix", runAnnot=FALSE,
# mart=useMart(biomart="ensembl", dataset="hsapiens_gene_ensembl"))
#
# #Attributes SByGene is empty and attribute datByGene refers to assayData
# SByGene(icaSetMainz)
# head(datByGene(icaSetMainz))
#
# # run annotation of the features into gene Symbols as specified in 'typeID(icaSetMainz)["geneID_annotation"]',
# # using package hgu133a.db as defined in 'annotation(icaSetMainz)'
# icaSetMainz <- annotInGene(icaSet=icaSetMainz, params=params)
# ## End(Not run)
Run the code above in your browser using DataLab