Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build Reactome.Symbol.Igraph for mouse? #2

Open
chengkeren opened this issue Aug 27, 2017 · 1 comment
Open

how to build Reactome.Symbol.Igraph for mouse? #2

chengkeren opened this issue Aug 27, 2017 · 1 comment

Comments

@chengkeren
Copy link

Hi~
I found this packages is very interesting, and I am working on mouse, so how can I built a mouse Reactome.Symbol.Igraph?

Thanks

@AJEinstein
Copy link
Contributor

The author who built the Reactome igraph is in the middle of his residency and hasn't been responsive. I would suggest using string's network igraph for mouse. See the STRINGdb package on bioconductor for more information. Briefly:

  1. you need to download the mouse string data:
string_db <- STRINGdb$new(version="10", species=10090, score_threshold=0, input_directory="SMITE/StringDB")`
  1. you would need to convert your gene ID's to string ID's (instead of gene symbols)
test_sym_2 <- string_db$map(exprs, "id", removeUnmappedRows = TRUE)`
  1. Use the stringDB igraph in lieu of the reactome igraph
string_igraph <- string_db$get_graph()
test_annotation <- 
  runSpinglass(test_annotation, network = string_igraph, maxsize = 50,
               num_iterations = 1000)

I hope this helps. Sorry for the long long delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants