segmentizeCounts(counts, start, end=start, chr=rep(1L, length(start)),
region=rep(1L, length(start)), strand=rep("*", length(start)),
replicate=rep(1L, length(start)), annotation=NULL, ...)
start
.start
will be used.TssData
.
signature(nReads="integer", start="integer")
segmentizeCounts(counts, start, ...)
segmentizeCounts
method takes the raw data and breaks it into
segments which will be analyzed separately in the subsequent
steps. Segments are defined in a way such that any has a unique
combination of the input arguments chr
, region
, and
strand
. In case any of these is not supplied it is assumed
that all reads belong to one chromosome, region, or strand,
respectively. Usage of the region
argument is beneficial if the
location of potential TSS can be constrained below the level of
chromosomes and strands.
TssData
, TssNorm
,
TssResult
Methods:
segmentizeCounts
, normalizeCounts
,
identifyStartSites
, get-methods
,
plot-methods
, asRangedData-methods
Functions:
subtract-functions
Data set:
physcoCounts
Package:
TSSi-package
## load data set
example(physcoCounts)
## import and segmentize data
attach(physcoCounts)
x <- segmentizeCounts(counts=counts, start=start, chr=chromosome,
region=region, strand=strand)
detach(physcoCounts)
Run the code above in your browser using DataLab