Coder Social home page Coder Social logo

msigdf's Introduction

MSigDF

The Molecular Signatures Database (MSigDB) in a data frame.

Current version: v5.2 (October 2016). For a more up-to-date version, see ToledoEM's fork at ToledoEM/msigdf.

Installation

# Install devtools if you don't already have it
install.packages("devtools")

# Just get the data
devtools::install_github("stephenturner/msigdf")

# Get the data and build the vignette (requires tidyverse, knitr, rmarkdown)
devtools::install_github("stephenturner/msigdf", build_vignettes = TRUE)

Example usage

See the package vignette for more.

library(dplyr)
library(msigdf)
vignette("msigdf")
msigdf.human %>% 
  filter(collection=="hallmark") %>% 
  head
  collection                          geneset entrez
1   hallmark HALLMARK_TNFA_SIGNALING_VIA_NFKB   3726
2   hallmark HALLMARK_TNFA_SIGNALING_VIA_NFKB   2920
3   hallmark HALLMARK_TNFA_SIGNALING_VIA_NFKB    467
4   hallmark HALLMARK_TNFA_SIGNALING_VIA_NFKB   4792
5   hallmark HALLMARK_TNFA_SIGNALING_VIA_NFKB   7128
6   hallmark HALLMARK_TNFA_SIGNALING_VIA_NFKB   5743
msigdf.human %>% filter(geneset=="KEGG_NON_HOMOLOGOUS_END_JOINING")
   collection                         geneset entrez
1          c2 KEGG_NON_HOMOLOGOUS_END_JOINING   7518
2          c2 KEGG_NON_HOMOLOGOUS_END_JOINING   4361
3          c2 KEGG_NON_HOMOLOGOUS_END_JOINING  27343
4          c2 KEGG_NON_HOMOLOGOUS_END_JOINING  27434
5          c2 KEGG_NON_HOMOLOGOUS_END_JOINING 731751
6          c2 KEGG_NON_HOMOLOGOUS_END_JOINING  79840
7          c2 KEGG_NON_HOMOLOGOUS_END_JOINING   3981
8          c2 KEGG_NON_HOMOLOGOUS_END_JOINING   2237
9          c2 KEGG_NON_HOMOLOGOUS_END_JOINING   1791
10         c2 KEGG_NON_HOMOLOGOUS_END_JOINING   7520
11         c2 KEGG_NON_HOMOLOGOUS_END_JOINING  10111
12         c2 KEGG_NON_HOMOLOGOUS_END_JOINING   2547
13         c2 KEGG_NON_HOMOLOGOUS_END_JOINING   5591
14         c2 KEGG_NON_HOMOLOGOUS_END_JOINING  64421

See the package vignette for more.

msigdf's People

Contributors

stephenturner avatar

Stargazers

 avatar allisonvmitch avatar Young Sherlock avatar  avatar Carolyn Shasha avatar Yingxue Fu avatar  avatar venu avatar Hao He avatar Haitao avatar  avatar Enrique avatar Najeeb Ashraf Syed avatar Chun-Jie Liu avatar Guangchuang Yu avatar Mikhail Dozmorov avatar

Watchers

 avatar James Cloos avatar Mikhail Dozmorov avatar  avatar

msigdf's Issues

html_document2 defunc

Hi when trying to install I am getting the following error:

* checking for file ‘/private/var/folders/sh/kwc66sqn4x36cjf9vncy99xm0000gp/T/Rtmpy2hUpm/devtools2a4d6079a2b6/stephenturner-msigdf-8330859/DESCRIPTION’ ... OK
* preparing ‘msigdf’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
Error: processing vignette 'msigdf.Rmd' failed with diagnostics:
'html_document2' is defunct.
Use 'html_document' instead.
Execution halted

any ideas how to fix it?
How can I change it from html_document2 to html_document?

thanks

Get associated ID to (KEGG/GO/...)-term

Hi there,

I cannot open an issue at the updated repo from @ToledoEM. Hence I open it here.

Is it possible to retrieve next to the geneset term also the geneset ID?

E.g. For the term GO_POSITIVE_REGULATION_OF_VIRAL_TRANSCRIPTION the ID would be GO:0050434.

Thanks in advance,
Christian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.