SubRidgeogram {SigWinR}R Documentation

Extract a ridgeogram for a sub-sequences from a larger Ridgeogram

Description

Create a ridgeogram for a subsequence from the ridgeogram of a sequence. The result is different from that of direct application of Ridgeogram to the subsequence.

Usage

SubRidgeogram(rg,start,stop)

Arguments

rg ridgeogram
start start of the sub sequence
stop end of the sub sequence

Details

The interpretation of start and stop depends on the existence of position information in the input ridgeogram. If available then start and stop are interprented as postions; otherwise the start and stop are used as indexes in the sequence array.

Value

A ridgeogram representing the subsequence.

Author(s)

w.c.deleeuw@uva.nl

References

SigWin-detector: a Grid-enabled workflow for discovering enriched windows of genomic features related to DNA sequences Marcia A Inda, Marinus F van Batenburg, Marco Roos, Adam SZ Belloum, Dmitry Vasunin, Adianto Wibisono, Antoine HC van Kampen, and Timo M Breit BMC Research Notes 2008; 1:63

See Also

Ridgeogram,PosRidgeogram,RidgeogramPlot

Examples


lseq <- c(rnorm(200),rnorm(100,-1),rnorm(50),rnorm(50,4.0),rnorm(100))
RidgeogramPlot(SubRidgeogram(Ridgeogram(lseq),325,375),0.5,
        "Example subridgeogram",high.col="green",low.col="red")

[Package SigWinR version 1.0.1 Index]