Skip to content
dritoshi edited this page Mar 7, 2012 · 38 revisions

Welcome to the BrainStars-for-R wiki!

This R library can search and get gene expression data and plots from BrainStars (or B*).

BrainStars

BrainStars is a quantitative expression database of the adult mouse brain. The database has genome-wide expression profile at 51 adult mouse CNS regions.

For 51 CNS regions, slices (0.5-mm thick) of mouse brain were cut on a Mouse Brain Matrix, frozen, and the specific regions were punched out bilaterally with a microdissecting needle (gauge 0.5 mm) under a stereomicroscope. For each region, we took samples every 4 hours, starting at ZT0 (Zeitgaber time 0; the time of lights on), for 24 hours (6 time-point samples for each region), and we pooled the samples from the different time points. We independently sampled each region twice (n=2).

These samples were purified their RNA, and measured with Affymetrix GeneChip Mouse Genome 430 2.0 arrays. Expression values were then summarized with the RMA method. After several analysis with the expression data, the data and analysis results were stored in the BrainStars database.

##Install $ sudo R > install.packages("RJSONIO") > install.packages("RCurl") > source("http://bioconductor.org/biocLite.R") > biocLite() > q()

$ curl -O https://github.com/dritoshi/BrainStars-for-R/blob/master/brainstars_0.0.1.tar.gz
$ sudo R CMD INSTALL brainstars-1.0.0.tar.gz

##Usage See vignette.

library("brainstars")
# Search API
my.genes       <- getBrainStars(query = "receptor/10,5",  type = "search")
my.genes.json  <- getBrainStars(query = "receptor/10,5",  type = "search", json = TRUE)
my.genes.count <- getBrainStars(query = "receptor/count", type = "search")

# Marker API
my.marker <- getBrainStars(query = "high/LS/count", type = "marker")

# Expression API
my.gene.exprs <- getBrainStars(query = c("1439627_at"), type = "expression") 

# Graph API
getBrainStarsFigure("1439627_at", "exprgraph")

getBrainStarsFigure

# Graph API
getBrainStarsFigure("1439627_at", "exprmap")

getBrainStarsFigure, exprmap

Links

Clone this wiki locally