|
6
|
1 \name{get.smoothed.enrichment.mle}
|
|
|
2 \alias{get.smoothed.enrichment.mle}
|
|
|
3 %- Also NEED an '\alias' for EACH other topic documented here.
|
|
|
4 \title{ Calculate chromosome-wide profiles of smoothed enrichment estimate }
|
|
|
5 \description{
|
|
|
6 Given signal and control tag positions, the method calculates log2
|
|
|
7 signal to control enrichment esimates (maximum likelihood) for each
|
|
|
8 chromosome, based on the smoothed tag density profile (see \link{get.smoothed.tag.density}).
|
|
|
9 }
|
|
|
10 \usage{
|
|
|
11 get.smoothed.enrichment.mle(signal.tags, control.tags, bandwidth = 150,tag.shift = 146/2, step = 50)
|
|
|
12 }
|
|
|
13 %- maybe also 'usage' for other objects documented here.
|
|
|
14 \arguments{
|
|
|
15 \item{signal.tags}{ signal chromosome tag coordinate vectors (e.g. output
|
|
|
16 of \code{\link{select.informative.tags}} }
|
|
|
17 \item{control.tags}{ control (input) tags }
|
|
|
18 \item{pseudocount}{ pseudocount value to be added to tag density -
|
|
|
19 defaults to 1 }
|
|
|
20 other parameters (such as bandwidth, step.size and tag.shift) are
|
|
|
21 passed to \link{get.smoothed.tag.density} - see appropriate reference
|
|
|
22 for details.
|
|
|
23 }
|
|
|
24 \value{
|
|
|
25 A list of elements corresponding to chromosomes, with each element
|
|
|
26 being an $x/$y data.frame giving the position and associated
|
|
|
27 log2 signal/control enrichment estimate.
|
|
|
28 }
|
|
|
29 \seealso{ \code{\link{writewig}} }
|
|
|
30 \examples{
|
|
|
31 # get smoothed enrichment estimate profile using 500bp bandwidth at
|
|
|
32 # 50bp steps
|
|
|
33 smoothed.M <- get.smoothed.enrichment.mle(chip.data,bandwidth=500,step=50);
|
|
|
34 writewig(smoothed.M,"example.smoothedM.wig","Example smoothed log2 intensity ratio estimate");
|
|
|
35 } |