Permalink
Browse files

Saved universe of genes with GO mappings

  • Loading branch information...
1 parent fd4ec64 commit 88ddc35144aff14fae04ff6b7a27040b996d5d88 @jreistetter committed Apr 27, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Mtb_GO.R
View
@@ -57,9 +57,11 @@ stopifnot(sum(is.na(rv.ids))==0) #check for NAs
#Create data frame with GO term and gene
go.mtb.mappings <- data.frame(go_id=go.rv[,5], evidence=go.rv[,7], gene_id=rv.ids)
-
stopifnot(sum(is.na(go.mtb.mappings$go_id))==0)
+universe <- unique(go.mtb.mappings$gene_id)
+save(universe, file="universe.RData")
+
goFrame <- GOFrame(go.mtb.mappings, organism="Mtb H37Rv")
goAllFrame <- GOAllFrame(goFrame)

0 comments on commit 88ddc35

Please sign in to comment.