deepblue_score_matrix {DeepBlueR} | R Documentation

## score_matrix

### Description

Build a matrix containing the aggregation result of the the experiments data by the aggregation boundaries.

### Usage

    deepblue_score_matrix(experiments_columns = NULL,
      aggregation_function = NULL, aggregation_regions_id = NULL,
      user_key = deepblue_options("user_key"))

### Arguments

`experiments_columns` | - A struct (map with experiments names and columns to be processed. Example : 'wgEncodeBroadHistoneDnd41H3k27acSig.wig':'VALUE', 'wgEncodeBroadHistoneCd20ro01794H3k27acSig.wig':'VALUE')
`aggregation_function` | - A string (aggregation function name: min, max, sum, mean, var, sd, median, count, boolean)
`aggregation_regions_id` | - A string (query ID of the regions that will be used as the aggregation boundaries)
`user_key` | - A string (users token key)

### Value

score_matrix - A string (the score matrix containing the summarized data)

### 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_merge_queries`, `deepblue_overlap`, `deepblue_query_cache`, `deepblue_query_experiment_type`, `deepblue_select_annotations`, `deepblue_select_experiments`, `deepblue_select_regions`, `deepblue_tiling_regions`

### Examples

    tiling_regions = deepblue_tiling_regions(
        size=100000, genome="mm10", chromosome="chr1")
    deepblue_score_matrix(
        experiments_columns =
            list(ENCFF721EKA="VALUE", ENCFF781VVH="VALUE"),
      aggregation_function = "mean",
      aggregation_regions_id = tiling_regions)

[Package DeepBlueR version 1.6.0 Index]