deepblue_merge_queries {DeepBlueR} | R Documentation

## merge_queries

### Description

Merge regions from two queries in a new query.

### Usage

    deepblue_merge_queries(query_a_id = NULL, query_b_id = NULL,
      user_key = deepblue_options("user_key"))

### Arguments

`query_a_id` | - A string (id of the first query)
`query_b_id` | - A string or a vector of string (id of the second query (or use an array to include multiple queries))
`user_key` | - A string (users token key)

### Value

id - A string (new query id)

### See Also

Other Operating on the data regions: `deepblue_aggregate`, `deepblue_binning`, `deepblue_count_regions`, `deepblue_coverage`, `deepblue_distinct_column_values`, `deepblue_extend`, `deepblue_filter_regions`, `deepblue_flank`, `deepblue_get_experiments_by_query`, `deepblue_get_regions`, `deepblue_input_regions`, `deepblue_intersection`, `deepblue_overlap`, `deepblue_query_cache`, `deepblue_query_experiment_type`, `deepblue_score_matrix`, `deepblue_select_annotations`, `deepblue_select_experiments`, `deepblue_select_regions`, `deepblue_tiling_regions`

### Examples

    annotation_id = deepblue_select_annotations(
        annotation_name="CpG Islands",
        genome="hg19", chromosome="chr1")
    data_id = deepblue_select_experiments(
        experiment_name="E002-H3K9ac.narrowPeak.bed")
    deepblue_merge_queries(
        query_a_id = annotation_id,
        query_b_id = data_id)

[Package DeepBlueR version 1.10.0 Index]