Learn R Programming

TSSi (version 1.18.0)

asRangedData-methods: Convert to RangedData

Description

Convert data and results to objects of class RangedData.

Usage

readsAsRangedData(x)
segmentsAsRangedData(x)
tssAsRangedData(x)

Arguments

x
Object of class TssData or inherited; for tssAsRangedData an object of class TssResult.

Value

An object of class RangedData

Methods

readsAsRangedData:
signature(x="TssData")
Convert the reads, as obtained by the reads method, to an object of class RangedData.
segmentsAsRangedData:
signature(x="TssData")
Convert the segments, as obtained by the segments method, to an object of class RangedData.
tssAsRangedData:
signature(x="TssResult")
Convert the TSS predictions, as obtained by the tss method, to an object of class RangedData.

Details

The RangedData class provides a widely used framework for representing sequence information. Converting the data to an object of this class allows an easy interaction with other packages and export to common formats, using for example the rtracklayer package. For an example, please see the vignette of this package.

See Also

RangedData

Classes: TssData, TssNorm, TssResult Methods: segmentizeCounts, normalizeCounts, identifyStartSites, get-methods, plot-methods, asRangedData-methods

Functions: subtract-functions

Data set: physcoCounts

Package: TSSi-package

Examples

Run this code
example(segmentizeCounts)

readsRd <- readsAsRangedData(x)

segmentsRd <- segmentsAsRangedData(x)

Run the code above in your browser using DataLab