deepblue_download_request_data: deepblue_download_request_data

Description Usage Arguments Value Examples

Description

Returns the requested data as the expected type object. Expects two input parameters; Request information and user key. It depends on outputs from several functions, namely; deepblue_get_request_data, convert_to_df, and convert_to_grange.

Usage

1
2
3
4
deepblue_download_request_data(request_id,
  user_key = deepblue_options("user_key"),
  force_download = deepblue_options("force_download"),
  do_not_cache = deepblue_options("do_not_cache"))

Arguments

request_id

- Id of the request that will be downloaded

user_key

A string

force_download

forces DeepBlueR to download the request overwriting any results that might already be in the cache

do_not_cache

whether to use local caching of requests

Value

grange_regions Final output in GRanges format or as data frame

Examples

1
2
3
4
5
data_id = deepblue_select_experiments(
experiment_name="E002-H3K9ac.narrowPeak.bed", chromosome="chr1")
request_id = deepblue_get_regions(query_id =data_id,
  output_format = "CHROMOSOME,START,END")
request_data = deepblue_download_request_data(request_id)

MPIIComputationalEpigenetics/DeepBlue-R documentation built on Aug. 11, 2021, 3:18 p.m.