View source: R/scAPAtrap_funlib.R
generateSAF | R Documentation |
Generate a peak annotation file (PeakID/chr/start/end/Strand) by combining forward peaks and reverse peaks generated by findPeaks
generateSAF(forwardPeaks, reversePeaks, outputdir, ...)
forwardPeaks |
A peak filename or a peak data.frame of forward strand, which is the output of |
reversePeaks |
Save as forwardPeaks but on the reverse strand. Can provide forwardPeaks or reversePeaks, or both. |
outputdir |
Output file directory. |
... |
Arguments passed to other methods and/or advanced arguments. Advanced arguments:
|
Full path of the peak list (<outputdir>/peaks.saf). This file contains five columns without header: peakID/chr/start/end/strand.
## Not run:
forwardPeaks <-findPeaks(fullcovF,'+', 98, 1000, cutoff = 1)
reversePeaks <-findPeaks(fullcovR,'-',98, 1000, cutoff = 1)
generateSAF(forwardPeaks, reversePeaks,'./data')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.