## Not run:
# session <- browserSession()
# genome(session) <- "mm9"
# trackNames(session) ## list the track names
# ## choose the Conservation track for a portion of mm9 chr1
# query <- ucscTableQuery(session, "Conservation",
# GRangesForUCSCGenome("mm9", "chr12",
# IRanges(57795963, 57815592)))
# ## list the table names
# tableNames(query)
# ## get the phastCons30way track
# tableName(query) <- "phastCons30way"
# ## retrieve the track data
# track(query) # a GRanges object
# ## get a data.frame summarizing the multiple alignment
# tableName(query) <- "multiz30waySummary"
# getTable(query)
#
# genome(session) <- "hg18"
# query <- ucscTableQuery(session, "snp129",
# names = c("rs10003974", "rs10087355", "rs10075230"))
# ucscSchema(query)
# getTable(query)
# ## End(Not run)
Run the code above in your browser using DataLab