aggregate_duplicates,SummarizedExperiment-method {tidybulk} | R Documentation

## aggregate_duplicates

### Description

aggregate_duplicates

### Usage

    ## S4 method for signature 'SummarizedExperiment'
    aggregate_duplicates(
      .data,
      .sample = NULL,
      .transcript = NULL,
      .abundance = NULL,
      aggregation_function = sum,
      keep_integer = TRUE
    )

### Arguments

`.data` | A 'tbl' formatted as | <SAMPLE> | <TRANSCRIPT> | <COUNT> | <...> |
`.sample` | The name of the sample column
`.transcript` | The name of the transcript/gene column
`.abundance` | The name of the transcript/gene abundance column
`aggregation_function` | A function for counts aggregation (e.g., sum, median, or mean)
`keep_integer` | A boolean. Whether to force the aggregated counts to integer

### Value

A 'SummarizedExperiment' object

[Package tidybulk version 0.99.23 Index]