examples of
1
0
Entering edit mode
li lilingdu ▴ 450
@li-lilingdu-1884
Last seen 6.6 years ago
LiGang <luzifer.li at="" ...=""> writes: > > #examples of "ucscTableQuery" in "rtracklayer" is shown below: > > session <- browserSession() > genome(session) <- "mm9" > query <- ucscTableQuery(session, "Conservation", > GenomicRanges(57795963, 57815592, "chr12")) query <- ucscTableQuery(session, "Conservation", GenomicRanges(57795963, 57815592, "12")) "12" should be used rather than "chr12" > > tableNames(query)
• 917 views
ADD COMMENT
0
Entering edit mode
li lilingdu ▴ 450
@li-lilingdu-1884
Last seen 6.6 years ago
LiGang <luzifer.li at="" ...=""> writes: > > LiGang <luzifer.li at="" ...=""> writes: > > > > > #examples of "ucscTableQuery" in "rtracklayer" is shown below: > > > > session <- browserSession() > > genome(session) <- "mm9" > > query <- ucscTableQuery(session, "Conservation", > > GenomicRanges(57795963, 57815592, "chr12")) > > query <- ucscTableQuery(session, "Conservation", > GenomicRanges(57795963, 57815592, "12")) > > "12" should be used rather than "chr12" in fact, there are some confusions about the using of "chrom" as "1" or "chr1" library(rtracklayer) browserSession("UCSC")->session track(session,"cytoBand") #error! #Error in inherits(x, "factor") : object 'outputs' not found # with replacing chromosome "chrX" as "X" will work track(session, "cytoBand", GenomicRanges( start=start(range(session)), end=end(range(session)), chrom=gsub("^chr","",as.character(chrom(range(session)))) ) ) ##above command works > > > > > tableNames(query) > > _______________________________________________ > Bioconductor mailing list > Bioconductor at ... > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor > >
ADD COMMENT

Login before adding your answer.

Traffic: 401 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6