aggregate_duplicated_transcripts_bulk {tidybulk} | R Documentation

## Aggregates multiple counts from the same samples (e.g., from isoforms) This function aggregates counts over samples, concatenates other character columns, and averages other numeric columns

### Description

Aggregates multiple counts from the same samples (e.g., from isoforms) This function aggregates counts over samples, concatenates other character columns, and averages other numeric columns

### Usage

    aggregate_duplicated_transcripts_bulk(
      .data,
      .sample = NULL,
      .transcript = NULL,
      .abundance = NULL,
      aggregation_function = sum,
      keep_integer = TRUE
    )

### Arguments

`.data` | A tibble
`.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)
`keep_integer` | A boolean

### Value

A tibble with aggregated genes and annotation

[Package tidybulk version 0.99.23 Index]