Extract the TSS or TSR count tables from the 'counts' slot.

get_counts(experiment, data_type = c("tss", "tsr"), samples = "all")

Arguments

experiment

TSRexploreR object.

data_type

Get either TSS ('tss') or TSR ('tsr') count tables.

samples

A vector of sample names to analyze.

Value

List of TSS or TSR count data.frame.

See also

get_granges to get TSS or TSR GRanges.

Examples

data(TSSs_reduced) exp <- tsr_explorer(TSSs_reduced) %>% format_counts(data_type="tss") cts <- get_counts(exp)