get_counts: Get TSS or TSR count tables.

View source: R/getters.R

get_countsR Documentation

Get TSS or TSR count tables.

Description

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

Usage

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)


zentnerlab/TSRexploreR documentation built on Dec. 30, 2022, 10:27 p.m.