| aggregate_duplicates,RangedSummarizedExperiment-method {tidybulk} | R Documentation |
aggregate_duplicates
## S4 method for signature 'RangedSummarizedExperiment' aggregate_duplicates( .data, .sample = NULL, .transcript = NULL, .abundance = NULL, aggregation_function = sum, keep_integer = TRUE )
.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 |
A 'SummarizedExperiment' object