Description Usage Arguments Examples
query GRange from mongodb atlas
1 | getAtlasRangeEncode(mychr, mystart, myend, url, mycoll, mydb)
|
mychr |
chromosome |
mystart |
start position |
myend |
end position |
url |
character string with connection url to MongoDB Atlas cluster |
mycoll |
collection name in mongodb |
mydb |
database name in mongodb |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
require(GenomicRanges)
require(mongolite)
mychrGo="chr11"
mystartGo=41196312-500*1000
myendGo=41322262+500*1000
mycollGo = "encode690"
mydbGo="encode"
url="mongodb+srv://test:test123!@cluster1-ag7nd.mongodb.net/test"
res=getAtlasRangeEncode(mychrGo,mystartGo,myendGo,mycollGo,mydbGo)
res
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.