get_granges: Get TSS or TSR GRanges.

View source: R/getters.R

get_grangesR Documentation

Get TSS or TSR GRanges.

Description

Extract the TSS or TSR GRanges from the 'experiment' slot.

Usage

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

Arguments

experiment

TSRexploreR object.

data_type

Get either TSS ('tss') or TSR ('tsr') GRanges.

samples

A vector of sample names to analyze.

Value

List of TSS or TSR GRanges.

See Also

get_counts to get TSS or TSR counts data.frame.

Examples

data(TSSs_reduced)

exp <- tsr_explorer(TSSs_reduced)

gr <- get_granges(exp)


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