MongoDB Atlas

Available Plans

Pricing

How to work with MongoDB Atlas

Connect to a Cluster

Import data into a Cluster

mongoimport --host cluster0-shard-00-00-ag7nd.mongodb.net:27017 --db encode --type csv --file cebpbgr.csv --authenticationDatabase admin --ssl --username reshg --password

Datasets on MongoDb Atlas

Database Name : txregnet DATABASE SIZE : 4.42GB INDEX SIZE : 400.1MB TOTAL COLLECTIONS : 45

Query the data from R

library(mongolite)
url="mongodb+srv://def:def@cluster1-ag7nd.mongodb.net/test"
mongo(collection="cebpbgr",db="encode",url=url)

Query data using TxRegQuery

library(TxRegQuery)
mychrGo=17
mystartGo=41196312-500*1000
myendGo=41322262+500*1000
mycollGo="Whole_Blood_allpairs_v7_eQTL"
mydbGo="txregnet"
url="mongodb+srv://def:def@cluster1-ag7nd.mongodb.net/test"
res_eqtl=getAtlasRangeEqtl(mychrGo,mystartGo,myendGo,mycollGo,mydbGo,url)
res_eqtl

Reference

https://docs.atlas.mongodb.com/



shwetagopaul92/txregquery documentation built on May 14, 2019, 7:43 a.m.