sliceSegment {GeneR}R Documentation

delineate sub-segments of equal size at both sides of an origin in a segment

Description

delineate sub-segments of equal size at both sides of an origin in a segment

Usage

sliceSegment(from = 1, to = 0, ori = 0, nbinL = 0, nbinR = 0, size = 1)

Arguments

from

integer, position of the begin of segment

to

integer, position of the end of segment

ori

integer, the position of the origin

nbinL

number of sub-segments to create before the origin

nbinR

number of sub-segments to create after the origin

size

integer, size of the sub-segments

Value

an element of class segSet

Author(s)

Yves d'Aubenton and Emna

See Also

bankDensityProfile,densityProfile,GCcontent,seqSkew

Examples


  ## If by example we have a gene in positions 150 to 200
  ## This will create segments to study
  ## A more complex example is provided with function densityProfile

  sliceSegment(from=1,to=200,ori=150,nbinL=15,nbinR=15,size=10)



[Package GeneR version 2.24.0 Index]