deepblue_download_request_data {DeepBlueR} | R Documentation |
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.
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"))
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 |
grange_regions Final output in GRanges format or as data frame
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)