Generate Count Matrix.

.count_matrix(
  count_data,
  data_type = c("tss", "tsr"),
  use_normalized = FALSE,
  threshold = NULL
)

Arguments

count_data

Named list of counts.

data_type

Whether to get matrix of TSS ('tss') or TSR ('tsr') counts.

use_normalized

Whether to use the normalized (TRUE) or raw (FALSE) counts.

threshold

TSSs or TSRs with a score below this value will not be considered.