Pivot charging data into an integer matrix suitable for DESeq2, where each row is a tRNA and each column is a sample. Values are total abundance (charged + uncharged counts).
Arguments
- charging_data
A tibble of combined charging data with columns
ref,counts_charged,counts_uncharged, andsample_id(as returned byread_charging_multi()).- min_count
Minimum total count across all samples for a tRNA to be retained. Default
10.
Examples
if (FALSE) { # \dontrun{
charging <- read_charging_multi(paths)
mat <- abundance_count_matrix(charging)
} # }