Created
March 1, 2019 23:43
-
-
Save NelleV/7f600eddb1e8af0ed96707cef223844b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
genes = structure(list(go_id = c("GO:0016787", "GO:0005634", "GO:0016798", | |
"GO:0008152", "GO:0005737", "GO:0004553", "GO:0005975", "GO:1903561", | |
"GO:0015929", "GO:0004563", "GO:0102148", "GO:0001934", "GO:0004672", | |
"GO:0005524", "GO:0006468", "GO:0016020", "GO:0016021", "GO:0016740", | |
"GO:0005886", "GO:0005634"), refseq_mrna = c("NM_001001333", | |
"NM_001001333", "NM_001001333", "NM_001001333", "NM_001001333", | |
"NM_001001333", "NM_001001333", "NM_001001333", "NM_001001333", | |
"NM_001001333", "NM_001001333", "NM_001003817", "NM_001003817", | |
"NM_001003817", "NM_001003817", "NM_001003817", "NM_001003817", | |
"NM_001003817", "NM_001003817", "NM_001003817")), row.names = c(NA, | |
20L), class = "data.frame") | |
# To the following output: | |
genes_mapping_to_go = list(NM_001001333 = c("GO:0016787", "GO:0005634", "GO:0016798", | |
"GO:0008152", "GO:0005737", "GO:0004553", "GO:0005975", "GO:1903561", | |
"GO:0015929", "GO:0004563", "GO:0102148"), NM_001003817 = c("GO:0001934", | |
"GO:0004672", "GO:0005524", "GO:0006468", "GO:0016020", "GO:0016021", | |
"GO:0016740", "GO:0005886", "GO:0005634")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment