Extract counts from a TSRexploreR object.

extract_counts(experiment, data_type, samples, use_normalized = FALSE)

Arguments

experiment

TSRexploreR object.

data_type

Whether to extract TSS or TSR counts

samples

A vector of sample names to analyze.

use_normalized

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