deepblue_extend {DeepBlueR} | R Documentation

## extend

### Description

Extend the genomic regions included in the query. It is possible to extend downstream, upstream or in both directions.

### Usage

    deepblue_extend(query_id = NULL, length = NULL, direction = NULL,
      use_strand = NULL, user_key = deepblue_options("user_key"))

### Arguments

`query_id` | - A string (Query ID)
`length` | - A int (The new region length)
`direction` | - A string (The direction that the region will be extended: 'BACKWARD', 'FORWARD', 'BOTH'. (Empty value will be used for both direction.)
`use_strand` | - A boolean (Use the region column STRAND to define the region direction)
`user_key` | - A string (users token key)

### Value

id - A string (id of the new query)

### See Also

Other Operating on the data regions: `deepblue_aggregate`, `deepblue_binning`, `deepblue_count_regions`, `deepblue_coverage`, `deepblue_distinct_column_values`, `deepblue_filter_regions`, `deepblue_flank`, `deepblue_get_experiments_by_query`, `deepblue_get_regions`, `deepblue_input_regions`, `deepblue_intersection`, `deepblue_merge_queries`, `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")
    deepblue_extend(query_id = annotation_id,
        length = 2000, direction = "BOTH",
        use_strand = TRUE)

[Package DeepBlueR version 1.14.0 Index]