get_counts.Rd
Extract the TSS or TSR count tables from the 'counts' slot.
get_counts(experiment, data_type = c("tss", "tsr"), samples = "all")
experiment | TSRexploreR object. |
---|---|
data_type | Get either TSS ('tss') or TSR ('tsr') count tables. |
samples | A vector of sample names to analyze. |
List of TSS or TSR count data.frame.
get_granges
to get TSS or TSR GRanges.
data(TSSs_reduced) exp <- tsr_explorer(TSSs_reduced) %>% format_counts(data_type="tss") cts <- get_counts(exp)