Description Usage Arguments Details Value Examples
Report the QC metrics, RSC and NSC, and plot the cross-correlation profile.
1 2 | phantomPeak(chip.data, input.data, binding.characteristics,
smoothing.bandwidth = 5)
|
chip.data |
|
input.data |
|
binding.characteristics |
The binding characteristics calculated with |
smoothing.bandwidth |
Smooth the curve of the cross-correlation plot using a moving average (higher value means more smoothing). |
Calculate RSC and NSC metrics and plot the cross-correlation profile.
The relative strand correlation (RSC) is the ratio between the peak of the fragment length and the peak of the read length. ENCODE guidelines recommend that the RSC be > 0.8.
The normalized strand coefficient, NSC, is the normalized ratio between the peak of the fragment-length cross-correlation and the background cross-correlation. ENCODE guidelines recommend that the NSC be > 1.05.
A vector containing the NSC, RSC, estimated read length and estimated fragment length.
1 2 3 4 | # call SPP to get the binding characteristics
bc <- calculateBindingCharacteristics("IP.bam", "input.bam", read.len=51)
# plot the cross-correlation profile
pp <- phantomPeak(bc$chip.data, bc$input.data, bc$bc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.