| aggregate_duplicates,tbl_df-method {tidybulk} | R Documentation |
aggregate_duplicates
## S4 method for signature 'tbl_df' 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 'tbl' object with aggregated transcript abundance and annotation