makeGRangesFromTSR-methods: *makeGRangesFromTSR*

Description Usage Arguments Value Note Examples

Description

makeGRangesFromTSR creates a GRanges object from a specified TSR data set

Usage

1
2
3
4
makeGRangesFromTSR(experimentName, tsrSetType, tsrSet = 1)

## S4 method for signature 'tssObject,character,numeric'
makeGRangesFromTSR(experimentName, tsrSetType, tsrSet = 1)

Arguments

experimentName

an S4 object of class tssObject containing information in slot @tssTagData

tsrSetType

specifies the set to be written to file. Options are "replicates" or "merged". (character)

tsrSet

number of the dataset to be processed (numeric).

Value

An object of class GRanges containing the specified TSR data set. Headers include 'seqnames', 'ranges' (including start and end), 'strand', 'name' (TSR ID) and 'score' (Shape Index/SI) value

Note

For more information on the GRanges class, please visit: http://web.mit.edu/~r/current/arch/i386_linux26/lib/R/library/GenomicRanges/html/GRanges-class.html

Examples

1
2
3
load(system.file("extdata", "tssObjectExample.RData", package="TSRchitect"))
makeGRangesFromTSR(experimentName=tssObjectExample, tsrSetType="replicates",
tsrSet=1)

BrendelGroup/TSRchitect documentation built on March 3, 2021, 1:45 a.m.