[BioC] GSEABase - mapIdentifiers

Hans-Ulrich Klein h.klein at uni-muenster.de
Wed Mar 26 00:01:42 CET 2008


Hello all,

the function mapIdentifiers() works fine for "GeneSet" objects whereas 
it throws an error message when a "GeneColorSet" is given:

 > library("GSEABase")
 > gs = GeneColorSet(geneIds=c("TYMP", "XPO1", "LBR"),
                geneIdType=SymbolIdentifier(),
                setName="testlist",
                shortDescription="blabla",
                phenotype="pheno data",
                geneColor = factor(c("increase","increase","increase")),
                phenotypeColor = factor(c("A","B","A")))

 > gs2  = mapIdentifiers(gs, AnnotationIdentifier("hgu95av2"))
Error in validObject(.Object) :
  invalid class "GeneColorSet" object: gene and color lengths differ

It seems that there is a problem when the number of genes/probes in the 
set changes.

Regards,
Hans-Ulrich




 > sessionInfo()
R version 2.6.2 (2008-02-08)
x86_64-pc-linux-gnu

locale:
C

attached base packages:
[1] tools     stats     graphics  grDevices utils     datasets  methods 
[8] base    

other attached packages:
[1] hgu95av2_2.0.1      Ruuid_1.16.1        GSEABase_1.0.3    
[4] AnnotationDbi_1.0.6 RSQLite_0.6-8       DBI_0.2-4         
[7] Biobase_1.16.3    

loaded via a namespace (and not attached):
[1] XML_1.93-2      rcompgen_0.1-17



More information about the Bioconductor mailing list