clusterAggregateAndSum: Aggregate identical clusters and sum their scores.

Description Usage Arguments

Description

Private function using data.table objects to preform grouping operations at a high performance. These functions use non-standard evaluation in a context that raises warnings in R CMD check. By separating these functions from the rest of the code, I hope to make the workarounds easier to manage.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
.clusterAggregateAndSum(clusters, key)

## S4 method for signature 'data.table'
.clusterAggregateAndSum(clusters, key)

## S4 method for signature 'data.frame'
.clusterAggregateAndSum(clusters, key)

## S4 method for signature 'GRanges'
.clusterAggregateAndSum(clusters, key)

Arguments

clusters

Clusters to be aggregated. data.frame, or GRanges, which will be coerced to data.frame.

key

Name of the column containing the factor used to aggregate the clusters.


CAGEr documentation built on Jan. 17, 2021, 2 a.m.