Skip to content

scranpy needs orgdb to replicate scrapper examples #2

@LTLA

Description

@LTLA

Specifically from ?aggregateAcrossGenes.se:

     library(org.Mm.eg.db)
     some.sets <- select(
         org.Mm.eg.db,
         keytype="GO",
         keys=c(
             "GO:0048709", # oligodendrocyte differentiation 
             "GO:0048699", # neuron development
             "GO:0048143"  # astrocyte activation 
         ),
         columns="SYMBOL"
     )

should return a data frame of relationships between the GO term and the gene symbol. For some reason the EVIDENCE and ONTOLOGY columns are also included, perhaps the select method for OrgDb objects checks if the keytype is GO and adds some extra columns.

Similarly from ?scoreGeneSet.se:

library(org.Mm.eg.db)
oligo.set <- select(org.Mm.eg.db, keytype="GO", keys="GO:0048709", columns="SYMBOL")
oligo.set <- unique(oligo.set$SYMBOL)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions