# NOT RUN {
# locate the testset file and connect
fl <- system.file('extdata', 'cRegulome.db', package = 'cRegulome')
conn <- RSQLite::dbConnect(RSQLite::SQLite(), fl)
# }
# NOT RUN {
# get transcription factors correlations in all studies
get_tf(conn,
tf = 'LEF1')
# }
# NOT RUN {
# get correlations in a particular study
get_tf(conn,
tf = 'LEF1',
study = 'STES')
# enter a custom query with different arguments
get_tf(conn,
tf = 'LEF1',
study = 'STES',
min_abs_cor = .3,
max_num = 5)
# }
Run the code above in your browser using DataLab