binWrapper.RdInternal function
binWrapper(grange, genome, MOTIF, BIN.WINDOW.SIZE, BIN.WINDOW.SLIDING, RANGE.FOR.SPECTRUM, FREQ)
| grange | A GRanges object of length 1 |
|---|---|
| genome | A DNAStringSet object. Ideally, the sequence of an entire genome,
obtained for instance by running
|
| MOTIF | String Oligonucleotide of interest. |
| BIN.WINDOW.SIZE | Integer The width of the bins to split each primary bin in (default 60). |
| BIN.WINDOW.SLIDING | Integer The increment between secondary bins (default 5). |
| RANGE.FOR.SPECTRUM | Numeric vector The distances between nucleotides to take into consideration when performing Fast Fourier Transform (default 1:50). |
| FREQ | Float The frequence of the dinucleotide to study (default 1/10). |
Float The estimated periodicity score of the input GRanges