fitKernelDensity: Fit a kernel density distribution to the obersever heuristic...

Description Usage Arguments Value

View source: R/Motif2Site.R

Description

This function gets heuristic distribution of short reads around binding sites, total numer of short reads and window size as number of neucleotid around binding sites.

It fits a kernel to the distribution and return the distribution as output. The total sum of returned values is equal to one.

Usage

1
fitKernelDensity(heuristicDistribution, totalShortReads, windowSize)

Arguments

heuristicDistribution

Original short distribution

totalShortReads

Total number of short reads

windowSize

Window size around binding site. The total region would be 2*windowSize+1

Value

kernel returns fitted kernel distribution of short reads around binding sites


ManchesterBioinference/Motif2Site documentation built on Feb. 13, 2022, 2:03 a.m.